summaryrefslogtreecommitdiff
path: root/lparser.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-08-08 15:26:05 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-08-08 15:26:05 -0300
commitf90bc248b3c3c18941a96038b2a7517ad571d8b1 (patch)
tree696583e7b4f462d01b07b8510faecd47b9baaf62 /lparser.h
parentd9e61e8ceafe8c3f6ad936979719ca7c446ce228 (diff)
downloadlua-github-f90bc248b3c3c18941a96038b2a7517ad571d8b1.tar.gz
new structure for line information
Diffstat (limited to 'lparser.h')
-rw-r--r--lparser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lparser.h b/lparser.h
index 12f936ae..c7f87350 100644
--- a/lparser.h
+++ b/lparser.h
@@ -1,5 +1,5 @@
/*
-** $Id: lparser.h,v 1.19 2000/06/26 19:28:31 roberto Exp roberto $
+** $Id: lparser.h,v 1.20 2000/06/28 20:20:36 roberto Exp roberto $
** LL(1) Parser and code generator for Lua
** See Copyright Notice in lua.h
*/
@@ -49,6 +49,8 @@ typedef struct FuncState {
int nupvalues; /* number of upvalues */
int debug; /* flag for debug information */
int nvars; /* number of entries in f->locvars */
+ int lastline; /* line where last `lineinfo' was generated */
+ int nlineinfo; /* index of next `lineinfo' to be generated */
struct Breaklabel *bl; /* chain of breakable blocks */
expdesc upvalues[MAXUPVALUES]; /* upvalues */
TString *localvar[MAXLOCALS]; /* store local variable names */