aboutsummaryrefslogtreecommitdiff
path: root/llex.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-10-11 17:02:19 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-10-11 17:02:19 -0300
commit916587508c117decb2f4d70677fa06be18803874 (patch)
tree24f930dcb544c9ddb5a15394537b5d7d8e64169e /llex.h
parenta5382b763c2faa4c47e55ee0e49889b4c47daac4 (diff)
downloadlua-916587508c117decb2f4d70677fa06be18803874.tar.gz
lua-916587508c117decb2f4d70677fa06be18803874.tar.bz2
lua-916587508c117decb2f4d70677fa06be18803874.zip
parser keeps list of active local variables in a single dynamic array,
therefore saving C stack space
Diffstat (limited to 'llex.h')
-rw-r--r--llex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llex.h b/llex.h
index 7c7d2746..3228f0e1 100644
--- a/llex.h
+++ b/llex.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llex.h,v 1.60 2007/05/11 17:28:56 roberto Exp roberto $ 2** $Id: llex.h,v 1.61 2007/10/25 16:45:47 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*/
@@ -58,6 +58,7 @@ typedef struct LexState {
58 struct lua_State *L; 58 struct lua_State *L;
59 ZIO *z; /* input stream */ 59 ZIO *z; /* input stream */
60 Mbuffer *buff; /* buffer for tokens */ 60 Mbuffer *buff; /* buffer for tokens */
61 struct Varlist *varl; /* list of all active local variables */
61 TString *source; /* current source name */ 62 TString *source; /* current source name */
62 char decpoint; /* locale decimal point */ 63 char decpoint; /* locale decimal point */
63} LexState; 64} LexState;