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:
Roberto Ierusalimschy
2005-04-07 10:09:07 -03:00
parent de0bfe33b7
commit fabf5db237
3 changed files with 14 additions and 18 deletions

3
llex.h
View File

@@ -1,5 +1,5 @@
/*
** $Id: llex.h,v 1.51 2004/12/02 12:59:10 roberto Exp roberto $
** $Id: llex.h,v 1.52 2004/12/03 20:54:12 roberto Exp roberto $
** Lexical Analyzer
** See Copyright Notice in lua.h
*/
@@ -63,7 +63,6 @@ typedef struct LexState {
ZIO *z; /* input stream */
Mbuffer *buff; /* buffer for tokens */
TString *source; /* current source name */
int nestlevel; /* level of nested non-terminals */
} LexState;