C stack is the same for the parser and the interpreter, so depth
control should be unified in both parts.
This commit is contained in:
12
luaconf.h
12
luaconf.h
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: luaconf.h,v 1.40 2005/03/29 16:20:48 roberto Exp roberto $
|
||||
** $Id: luaconf.h,v 1.41 2005/04/06 17:30:13 roberto Exp roberto $
|
||||
** Configuration file for Lua
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -351,18 +351,12 @@
|
||||
|
||||
|
||||
/*
|
||||
@@ LUAI_MAXCCALLS is the maximum depth for nested C calls (short).
|
||||
@@ LUAI_MAXCCALLS is the maximum depth for nested C calls (short) and
|
||||
@* syntactical nested non-terminals in a program.
|
||||
*/
|
||||
#define LUAI_MAXCCALLS 200
|
||||
|
||||
|
||||
/*
|
||||
@@ LUAI_MAXPARSERLEVEL is the maximum number of syntactical nested
|
||||
@* non-terminals in a program.
|
||||
*/
|
||||
#define LUAI_MAXPARSERLEVEL 200
|
||||
|
||||
|
||||
/*
|
||||
@@ LUAI_MAXVARS is the maximum number of local variables per function
|
||||
@* (must be smaller than 250).
|
||||
|
||||
Reference in New Issue
Block a user