From fabf5db2373d18a7c97016ea00acc0e05601960a Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 7 Apr 2005 10:09:07 -0300 Subject: C stack is the same for the parser and the interpreter, so depth control should be unified in both parts. --- luaconf.h | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'luaconf.h') diff --git a/luaconf.h b/luaconf.h index 83221e8b..ba65a311 100644 --- a/luaconf.h +++ b/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). -- cgit v1.2.3-55-g6feb