aboutsummaryrefslogtreecommitdiff
path: root/lparser.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-21 15:13:56 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-21 15:13:56 -0300
commitb69e712713785394ceefa11ab3e5f9636abea733 (patch)
tree0fa1b8b00ffbb5cfe0113d290b48b4fc528d2695 /lparser.h
parentf51775950737eb4d097cda0bba143973b5385947 (diff)
downloadlua-b69e712713785394ceefa11ab3e5f9636abea733.tar.gz
lua-b69e712713785394ceefa11ab3e5f9636abea733.tar.bz2
lua-b69e712713785394ceefa11ab3e5f9636abea733.zip
new way to generate SETLINEs
Diffstat (limited to 'lparser.h')
-rw-r--r--lparser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lparser.h b/lparser.h
index 42f11d42..2fb8e000 100644
--- a/lparser.h
+++ b/lparser.h
@@ -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 */