diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-03-25 14:47:14 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-03-25 14:47:14 -0300 |
commit | 801aaf37b14a1fad5bb49c9a4200d25680152471 (patch) | |
tree | e3cc5cdebac6d503091f4ba16444f8ecfa8dfdb2 /lparser.h | |
parent | 00af2faae71e6388ee61ef18b2c5902a42e9bc27 (diff) | |
download | lua-801aaf37b14a1fad5bb49c9a4200d25680152471.tar.gz lua-801aaf37b14a1fad5bb49c9a4200d25680152471.tar.bz2 lua-801aaf37b14a1fad5bb49c9a4200d25680152471.zip |
simpler implementation for line information
Diffstat (limited to 'lparser.h')
-rw-r--r-- | lparser.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.h,v 1.39 2002/02/08 22:42:41 roberto Exp roberto $ | 2 | ** $Id: lparser.h,v 1.40 2002/03/14 18:01:52 roberto Exp roberto $ |
3 | ** Lua Parser | 3 | ** Lua Parser |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -68,11 +68,9 @@ typedef struct FuncState { | |||
68 | int defaultglob; /* where to look for non-declared globals */ | 68 | int defaultglob; /* where to look for non-declared globals */ |
69 | int nk; /* number of elements in `k' */ | 69 | int nk; /* number of elements in `k' */ |
70 | int np; /* number of elements in `p' */ | 70 | int np; /* number of elements in `p' */ |
71 | int nlineinfo; /* number of elements in `lineinfo' */ | ||
72 | int nlocvars; /* number of elements in `locvars' */ | 71 | int nlocvars; /* number of elements in `locvars' */ |
73 | int nactloc; /* number of active local variables */ | 72 | int nactloc; /* number of active local variables */ |
74 | int nactvar; /* number of elements in array `actvar' */ | 73 | int nactvar; /* number of elements in array `actvar' */ |
75 | int lastline; /* line where last `lineinfo' was generated */ | ||
76 | expdesc upvalues[MAXUPVALUES]; /* upvalues */ | 74 | expdesc upvalues[MAXUPVALUES]; /* upvalues */ |
77 | vardesc actvar[MAXVARS]; /* declared-variable stack */ | 75 | vardesc actvar[MAXVARS]; /* declared-variable stack */ |
78 | } FuncState; | 76 | } FuncState; |