diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-11-30 16:50:47 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-11-30 16:50:47 -0200 |
commit | 01b00cc29261579600ce414b470c339510ac49d5 (patch) | |
tree | d485971f691e6914b92d52a4ba6976f6f3357a23 /lparser.h | |
parent | fc7b167ae0a0d65f0050299101e7d177550d7120 (diff) | |
download | lua-01b00cc29261579600ce414b470c339510ac49d5.tar.gz lua-01b00cc29261579600ce414b470c339510ac49d5.tar.bz2 lua-01b00cc29261579600ce414b470c339510ac49d5.zip |
better control over extensions of char/short to int
Diffstat (limited to 'lparser.h')
-rw-r--r-- | lparser.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.h,v 1.25 2000/09/29 12:42:13 roberto Exp roberto $ | 2 | ** $Id: lparser.h,v 1.26 2000/10/09 13:47:46 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 | */ |
@@ -44,9 +44,9 @@ typedef struct FuncState { | |||
44 | int pc; /* next position to code */ | 44 | int pc; /* next position to code */ |
45 | int lasttarget; /* `pc' of last `jump target' */ | 45 | int lasttarget; /* `pc' of last `jump target' */ |
46 | int jlt; /* list of jumps to `lasttarget' */ | 46 | int jlt; /* list of jumps to `lasttarget' */ |
47 | short stacklevel; /* number of values on activation register */ | 47 | int stacklevel; /* number of values on activation register */ |
48 | short nactloc; /* number of active local variables */ | 48 | int nactloc; /* number of active local variables */ |
49 | short nupvalues; /* number of upvalues */ | 49 | int nupvalues; /* number of upvalues */ |
50 | int lastline; /* line where last `lineinfo' was generated */ | 50 | int lastline; /* line where last `lineinfo' was generated */ |
51 | struct Breaklabel *bl; /* chain of breakable blocks */ | 51 | struct Breaklabel *bl; /* chain of breakable blocks */ |
52 | expdesc upvalues[MAXUPVALUES]; /* upvalues */ | 52 | expdesc upvalues[MAXUPVALUES]; /* upvalues */ |