diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-29 09:42:13 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-29 09:42:13 -0300 |
| commit | dad808a73a98a23729614b8814728d76b4e5d577 (patch) | |
| tree | 945fabce1906c5f08fe6512476d7ca3d84017bca /lparser.h | |
| parent | ca7fd50a4ec2f1b41292f859ba0d5e52a2b22a5c (diff) | |
| download | lua-dad808a73a98a23729614b8814728d76b4e5d577.tar.gz lua-dad808a73a98a23729614b8814728d76b4e5d577.tar.bz2 lua-dad808a73a98a23729614b8814728d76b4e5d577.zip | |
new way to count `nblocks' for GC (try to count bytes).
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.23 2000/08/22 17:44:17 roberto Exp roberto $ | 2 | ** $Id: lparser.h,v 1.24 2000/08/30 18:50:18 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 | */ |
| @@ -48,7 +48,6 @@ typedef struct FuncState { | |||
| 48 | int nactloc; /* number of active local variables */ | 48 | int nactloc; /* number of active local variables */ |
| 49 | int nupvalues; /* number of upvalues */ | 49 | int nupvalues; /* number of upvalues */ |
| 50 | int lastline; /* line where last `lineinfo' was generated */ | 50 | int lastline; /* line where last `lineinfo' was generated */ |
| 51 | int nlineinfo; /* index of next `lineinfo' to be generated */ | ||
| 52 | struct Breaklabel *bl; /* chain of breakable blocks */ | 51 | struct Breaklabel *bl; /* chain of breakable blocks */ |
| 53 | expdesc upvalues[MAXUPVALUES]; /* upvalues */ | 52 | expdesc upvalues[MAXUPVALUES]; /* upvalues */ |
| 54 | int actloc[MAXLOCALS]; /* local-variable stack (indices to locvars) */ | 53 | int actloc[MAXLOCALS]; /* local-variable stack (indices to locvars) */ |
