diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-30 13:01:37 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-30 13:01:37 -0300 |
commit | 8ef9e8460e775793f760deb28d0c3d10dda31b49 (patch) | |
tree | 803abce8b7caba6e5f66b26e55f0bc8dcfc881a2 /lparser.h | |
parent | 4f292d753c892e705b6d1796d72758cdd4d49765 (diff) | |
download | lua-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 'lparser.h')
-rw-r--r-- | lparser.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.h,v 1.70 2012/05/08 13:53:33 roberto Exp roberto $ | 2 | ** $Id: lparser.h,v 1.71 2013/04/16 18:46:28 roberto Exp roberto $ |
3 | ** Lua Parser | 3 | ** Lua Parser |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -97,7 +97,6 @@ struct BlockCnt; /* defined in lparser.c */ | |||
97 | /* state needed to generate code for a given function */ | 97 | /* state needed to generate code for a given function */ |
98 | typedef struct FuncState { | 98 | typedef struct FuncState { |
99 | Proto *f; /* current function header */ | 99 | Proto *f; /* current function header */ |
100 | Table *h; /* table to find (and reuse) elements in `k' */ | ||
101 | struct FuncState *prev; /* enclosing function */ | 100 | struct FuncState *prev; /* enclosing function */ |
102 | struct LexState *ls; /* lexical state */ | 101 | struct LexState *ls; /* lexical state */ |
103 | struct BlockCnt *bl; /* chain of current blocks */ | 102 | struct BlockCnt *bl; /* chain of current blocks */ |