diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-08 15:26:05 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-08 15:26:05 -0300 |
| commit | f90bc248b3c3c18941a96038b2a7517ad571d8b1 (patch) | |
| tree | 696583e7b4f462d01b07b8510faecd47b9baaf62 /lparser.h | |
| parent | d9e61e8ceafe8c3f6ad936979719ca7c446ce228 (diff) | |
| download | lua-f90bc248b3c3c18941a96038b2a7517ad571d8b1.tar.gz lua-f90bc248b3c3c18941a96038b2a7517ad571d8b1.tar.bz2 lua-f90bc248b3c3c18941a96038b2a7517ad571d8b1.zip | |
new structure for line information
Diffstat (limited to 'lparser.h')
| -rw-r--r-- | lparser.h | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lparser.h,v 1.19 2000/06/26 19:28:31 roberto Exp roberto $ | 2 | ** $Id: lparser.h,v 1.20 2000/06/28 20:20:36 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 | */ |
| @@ -49,6 +49,8 @@ typedef struct FuncState { | |||
| 49 | int nupvalues; /* number of upvalues */ | 49 | int nupvalues; /* number of upvalues */ |
| 50 | int debug; /* flag for debug information */ | 50 | int debug; /* flag for debug information */ |
| 51 | int nvars; /* number of entries in f->locvars */ | 51 | int nvars; /* number of entries in f->locvars */ |
| 52 | int lastline; /* line where last `lineinfo' was generated */ | ||
| 53 | int nlineinfo; /* index of next `lineinfo' to be generated */ | ||
| 52 | struct Breaklabel *bl; /* chain of breakable blocks */ | 54 | struct Breaklabel *bl; /* chain of breakable blocks */ |
| 53 | expdesc upvalues[MAXUPVALUES]; /* upvalues */ | 55 | expdesc upvalues[MAXUPVALUES]; /* upvalues */ |
| 54 | TString *localvar[MAXLOCALS]; /* store local variable names */ | 56 | TString *localvar[MAXLOCALS]; /* store local variable names */ |
