aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-04-07 10:09:07 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-04-07 10:09:07 -0300
commitfabf5db2373d18a7c97016ea00acc0e05601960a (patch)
tree984c0e14d70e857e577a1be2d0e9d8815d92bdac /luaconf.h
parentde0bfe33b7380fcf165b95dd36895865e1321226 (diff)
downloadlua-fabf5db2373d18a7c97016ea00acc0e05601960a.tar.gz
lua-fabf5db2373d18a7c97016ea00acc0e05601960a.tar.bz2
lua-fabf5db2373d18a7c97016ea00acc0e05601960a.zip
C stack is the same for the parser and the interpreter, so depth
control should be unified in both parts.
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/luaconf.h b/luaconf.h
index 83221e8b..ba65a311 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.40 2005/03/29 16:20:48 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.41 2005/04/06 17:30:13 roberto Exp roberto $
3** Configuration file for Lua 3** Configuration file for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -351,19 +351,13 @@
351 351
352 352
353/* 353/*
354@@ LUAI_MAXCCALLS is the maximum depth for nested C calls (short). 354@@ LUAI_MAXCCALLS is the maximum depth for nested C calls (short) and
355@* syntactical nested non-terminals in a program.
355*/ 356*/
356#define LUAI_MAXCCALLS 200 357#define LUAI_MAXCCALLS 200
357 358
358 359
359/* 360/*
360@@ LUAI_MAXPARSERLEVEL is the maximum number of syntactical nested
361@* non-terminals in a program.
362*/
363#define LUAI_MAXPARSERLEVEL 200
364
365
366/*
367@@ LUAI_MAXVARS is the maximum number of local variables per function 361@@ LUAI_MAXVARS is the maximum number of local variables per function
368@* (must be smaller than 250). 362@* (must be smaller than 250).
369*/ 363*/