aboutsummaryrefslogtreecommitdiff
path: root/llex.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 /llex.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 'llex.h')
-rw-r--r--llex.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/llex.h b/llex.h
index e463a98d..25582643 100644
--- a/llex.h
+++ b/llex.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llex.h,v 1.51 2004/12/02 12:59:10 roberto Exp roberto $ 2** $Id: llex.h,v 1.52 2004/12/03 20:54:12 roberto Exp roberto $
3** Lexical Analyzer 3** Lexical Analyzer
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -63,7 +63,6 @@ typedef struct LexState {
63 ZIO *z; /* input stream */ 63 ZIO *z; /* input stream */
64 Mbuffer *buff; /* buffer for tokens */ 64 Mbuffer *buff; /* buffer for tokens */
65 TString *source; /* current source name */ 65 TString *source; /* current source name */
66 int nestlevel; /* level of nested non-terminals */
67} LexState; 66} LexState;
68 67
69 68