aboutsummaryrefslogtreecommitdiff
path: root/lparser.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-24 14:26:08 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-24 14:26:08 -0300
commit213e9febc889d5aaae8ef0e8b777cdb4889e30c1 (patch)
treea3b8483f7ce4094e8df3071cb774ef1ee70cc474 /lparser.h
parent47b4bf59649834c611571d7ac1482eac55687ce5 (diff)
downloadlua-213e9febc889d5aaae8ef0e8b777cdb4889e30c1.tar.gz
lua-213e9febc889d5aaae8ef0e8b777cdb4889e30c1.tar.bz2
lua-213e9febc889d5aaae8ef0e8b777cdb4889e30c1.zip
limits now are in `llims.n'
Diffstat (limited to 'lparser.h')
-rw-r--r--lparser.h33
1 files changed, 1 insertions, 32 deletions
diff --git a/lparser.h b/lparser.h
index d7e70479..896b1eb9 100644
--- a/lparser.h
+++ b/lparser.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lparser.h,v 1.12 2000/03/10 18:37:44 roberto Exp roberto $ 2** $Id: lparser.h,v 1.13 2000/03/13 20:37:16 roberto Exp roberto $
3** LL(1) Parser and code generator for Lua 3** LL(1) Parser and code generator for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -11,37 +11,6 @@
11#include "lzio.h" 11#include "lzio.h"
12 12
13 13
14/* maximum number of local variables */
15#ifndef MAXLOCALS
16#define MAXLOCALS 200 /* arbitrary limit (<=MAXARG_B) */
17#endif
18
19
20/* maximum number of upvalues */
21#ifndef MAXUPVALUES
22#define MAXUPVALUES 32 /* arbitrary limit (<=MAXARG_B) */
23#endif
24
25
26/* maximum number of variables in the left side of an assignment */
27#ifndef MAXVARSLH
28#define MAXVARSLH 100 /* arbitrary limit (<=MAXARG_B) */
29#endif
30
31
32/* maximum number of parameters in a function */
33#ifndef MAXPARAMS
34#define MAXPARAMS 100 /* arbitrary limit (<=MAXLOCALS) */
35#endif
36
37
38/* maximum stack size in a function */
39#ifndef MAXSTACK
40#define MAXSTACK 256 /* arbitrary limit (<=MAXARG_A) */
41#endif
42
43
44
45/* 14/*
46** Expression descriptor 15** Expression descriptor
47*/ 16*/