limits now are in `llims.n'

This commit is contained in:
Roberto Ierusalimschy
2000-03-24 14:26:08 -03:00
parent 47b4bf5964
commit 213e9febc8
9 changed files with 26 additions and 164 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lparser.c,v 1.71 2000/03/20 19:15:37 roberto Exp roberto $
** $Id: lparser.c,v 1.72 2000/03/24 12:17:53 roberto Exp roberto $
** LL(1) Parser and code generator for Lua
** See Copyright Notice in lua.h
*/
@@ -22,17 +22,6 @@
#include "lstring.h"
/*
** check whether arbitrary limits fit into respective opcode types
*/
#if MAXLOCALS > MAXARG_U || MAXUPVALUES > MAXARG_B || MAXVARSLH > MAXARG_B || \
MAXPARAMS > MAXLOCALS || MAXSTACK > MAXARG_A || \
LFIELDS_PER_FLUSH > MAXARG_B || MULT_RET > MAXARG_B
#error invalid limits
#endif
/*
** Constructors descriptor:
** `n' indicates number of elements, and `k' signals whether