diff options
Diffstat (limited to 'lparser.h')
-rw-r--r-- | lparser.h | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.h,v 1.27 2000/11/30 18:50:47 roberto Exp roberto $ | 2 | ** $Id: lparser.h,v 1.28 2000/12/26 18:46:09 roberto Exp roberto $ |
3 | ** LL(1) Parser and code generator for Lua | 3 | ** LL(1) Parser and code generator for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -41,16 +41,15 @@ typedef struct FuncState { | |||
41 | struct FuncState *prev; /* enclosing function */ | 41 | struct FuncState *prev; /* enclosing function */ |
42 | struct LexState *ls; /* lexical state */ | 42 | struct LexState *ls; /* lexical state */ |
43 | struct lua_State *L; /* copy of the Lua state */ | 43 | struct lua_State *L; /* copy of the Lua state */ |
44 | int pc; /* next position to code */ | 44 | int pc; /* next position to code (equivalent to `ncode') */ |
45 | int lasttarget; /* `pc' of last `jump target' */ | 45 | int lasttarget; /* `pc' of last `jump target' */ |
46 | int jlt; /* list of jumps to `lasttarget' */ | 46 | int jlt; /* list of jumps to `lasttarget' */ |
47 | int stacklevel; /* number of values on activation register */ | 47 | int stacklevel; /* number of values on activation register */ |
48 | int sizekstr; /* size of array `kstr' */ | 48 | int nkstr; /* number of elements in `kstr' */ |
49 | int sizekproto; /* size of array `kproto' */ | 49 | int nkproto; /* number of elements in `kproto' */ |
50 | int sizeknum; /* size of array `knum' */ | 50 | int nknum; /* number of elements in `knum' */ |
51 | int sizelineinfo; /* size of array `lineinfo' */ | 51 | int nlineinfo; /* number of elements in `lineinfo' */ |
52 | int sizecode; /* size of array `code' */ | 52 | int nlocvars; /* number of elements in `locvars' */ |
53 | int sizelocvars; /* size of array `locvars' */ | ||
54 | int nactloc; /* number of active local variables */ | 53 | int nactloc; /* number of active local variables */ |
55 | int nupvalues; /* number of upvalues */ | 54 | int nupvalues; /* number of upvalues */ |
56 | int lastline; /* line where last `lineinfo' was generated */ | 55 | int lastline; /* line where last `lineinfo' was generated */ |