diff options
Diffstat (limited to 'lparser.h')
-rw-r--r-- | lparser.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -56,21 +56,21 @@ typedef struct expdesc { | |||
56 | /* state needed to generate code for a given function */ | 56 | /* state needed to generate code for a given function */ |
57 | typedef struct FuncState { | 57 | typedef struct FuncState { |
58 | Proto *f; /* current function header */ | 58 | Proto *f; /* current function header */ |
59 | Table *h; /* table to find (and reuse) elements in `k' */ | ||
59 | struct FuncState *prev; /* enclosing function */ | 60 | struct FuncState *prev; /* enclosing function */ |
60 | struct LexState *ls; /* lexical state */ | 61 | struct LexState *ls; /* lexical state */ |
61 | struct lua_State *L; /* copy of the Lua state */ | 62 | struct lua_State *L; /* copy of the Lua state */ |
63 | struct Breaklabel *bl; /* chain of breakable blocks */ | ||
62 | int pc; /* next position to code (equivalent to `ncode') */ | 64 | int pc; /* next position to code (equivalent to `ncode') */ |
63 | int lasttarget; /* `pc' of last `jump target' */ | 65 | int lasttarget; /* `pc' of last `jump target' */ |
64 | int jlt; /* list of jumps to `lasttarget' */ | 66 | int jlt; /* list of jumps to `lasttarget' */ |
65 | int freereg; /* first free register */ | 67 | int freereg; /* first free register */ |
66 | int nk; /* number of elements in `k' */ | 68 | int nk; /* number of elements in `k' */ |
67 | Table *h; /* table to find (and reuse) elements in `k' */ | ||
68 | int np; /* number of elements in `p' */ | 69 | int np; /* number of elements in `p' */ |
69 | int nlineinfo; /* number of elements in `lineinfo' */ | 70 | int nlineinfo; /* number of elements in `lineinfo' */ |
70 | int nlocvars; /* number of elements in `locvars' */ | 71 | int nlocvars; /* number of elements in `locvars' */ |
71 | int nactloc; /* number of active local variables */ | 72 | int nactloc; /* number of active local variables */ |
72 | int lastline; /* line where last `lineinfo' was generated */ | 73 | int lastline; /* line where last `lineinfo' was generated */ |
73 | struct Breaklabel *bl; /* chain of breakable blocks */ | ||
74 | expdesc upvalues[MAXUPVALUES]; /* upvalues */ | 74 | expdesc upvalues[MAXUPVALUES]; /* upvalues */ |
75 | int actloc[MAXLOCALS]; /* local-variable stack (indices to locvars) */ | 75 | int actloc[MAXLOCALS]; /* local-variable stack (indices to locvars) */ |
76 | unsigned int wasup[words2bits(MAXLOCALS)]; /* bit array to mark whether a | 76 | unsigned int wasup[words2bits(MAXLOCALS)]; /* bit array to mark whether a |