diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-21 15:13:56 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-21 15:13:56 -0300 |
commit | b69e712713785394ceefa11ab3e5f9636abea733 (patch) | |
tree | 0fa1b8b00ffbb5cfe0113d290b48b4fc528d2695 /lparser.h | |
parent | f51775950737eb4d097cda0bba143973b5385947 (diff) | |
download | lua-b69e712713785394ceefa11ab3e5f9636abea733.tar.gz lua-b69e712713785394ceefa11ab3e5f9636abea733.tar.bz2 lua-b69e712713785394ceefa11ab3e5f9636abea733.zip |
new way to generate SETLINEs
Diffstat (limited to 'lparser.h')
-rw-r--r-- | lparser.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.h,v 1.16 2000/04/06 17:36:52 roberto Exp roberto $ | 2 | ** $Id: lparser.h,v 1.17 2000/05/25 18:26:42 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,7 @@ typedef struct FuncState { | |||
49 | int nupvalues; /* number of upvalues */ | 49 | int nupvalues; /* number of upvalues */ |
50 | int nvars; /* number of entries in f->locvars */ | 50 | int nvars; /* number of entries in f->locvars */ |
51 | int lastsetline; /* line where last SETLINE was issued */ | 51 | int lastsetline; /* line where last SETLINE was issued */ |
52 | int debug; /* flag to generate debug information */ | ||
52 | struct Breaklabel *bl; /* chain of breakable blocks */ | 53 | struct Breaklabel *bl; /* chain of breakable blocks */ |
53 | expdesc upvalues[MAXUPVALUES]; /* upvalues */ | 54 | expdesc upvalues[MAXUPVALUES]; /* upvalues */ |
54 | TString *localvar[MAXLOCALS]; /* store local variable names */ | 55 | TString *localvar[MAXLOCALS]; /* store local variable names */ |