aboutsummaryrefslogtreecommitdiff
path: root/llex.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-30 13:01:37 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-30 13:01:37 -0300
commit8ef9e8460e775793f760deb28d0c3d10dda31b49 (patch)
tree803abce8b7caba6e5f66b26e55f0bc8dcfc881a2 /llex.h
parent4f292d753c892e705b6d1796d72758cdd4d49765 (diff)
downloadlua-8ef9e8460e775793f760deb28d0c3d10dda31b49.tar.gz
lua-8ef9e8460e775793f760deb28d0c3d10dda31b49.tar.bz2
lua-8ef9e8460e775793f760deb28d0c3d10dda31b49.zip
bug (GC can collect long identifier during parser) + change (using
a single constant table for all functions in a chunk)
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 d1667ad7..e9c1ed99 100644
--- a/llex.h
+++ b/llex.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llex.h,v 1.73 2013/04/16 18:46:28 roberto Exp roberto $ 2** $Id: llex.h,v 1.74 2013/04/26 13:07:53 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*/
@@ -60,6 +60,7 @@ typedef struct LexState {
60 struct lua_State *L; 60 struct lua_State *L;
61 ZIO *z; /* input stream */ 61 ZIO *z; /* input stream */
62 Mbuffer *buff; /* buffer for tokens */ 62 Mbuffer *buff; /* buffer for tokens */
63 Table *h; /* to avoid collection/reuse strings */
63 struct Dyndata *dyd; /* dynamic structures used by the parser */ 64 struct Dyndata *dyd; /* dynamic structures used by the parser */
64 TString *source; /* current source name */ 65 TString *source; /* current source name */
65 TString *envn; /* environment variable name */ 66 TString *envn; /* environment variable name */