diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-04-07 10:09:07 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-04-07 10:09:07 -0300 |
commit | fabf5db2373d18a7c97016ea00acc0e05601960a (patch) | |
tree | 984c0e14d70e857e577a1be2d0e9d8815d92bdac /luaconf.h | |
parent | de0bfe33b7380fcf165b95dd36895865e1321226 (diff) | |
download | lua-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.h | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -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 | */ |