diff options
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.61 2009/10/11 20:02:19 roberto Exp roberto $ | 2 | ** $Id: lparser.h,v 1.62 2010/02/26 20:40:29 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 | */ |
| @@ -25,7 +25,6 @@ typedef enum { | |||
| 25 | VKNUM, /* nval = numerical value */ | 25 | VKNUM, /* nval = numerical value */ |
| 26 | VLOCAL, /* info = local register */ | 26 | VLOCAL, /* info = local register */ |
| 27 | VUPVAL, /* info = index of upvalue in 'upvalues' */ | 27 | VUPVAL, /* info = index of upvalue in 'upvalues' */ |
| 28 | VGLOBAL, /* info = index of global name in 'k' */ | ||
| 29 | VINDEXED, /* info = table R/K; aux = index R/K */ | 28 | VINDEXED, /* info = table R/K; aux = index R/K */ |
| 30 | VINDEXEDUP, /* info = table upvalue; aux = R/K */ | 29 | VINDEXEDUP, /* info = table upvalue; aux = R/K */ |
| 31 | VJMP, /* info = instruction pc */ | 30 | VJMP, /* info = instruction pc */ |
| @@ -81,7 +80,6 @@ typedef struct FuncState { | |||
| 81 | short nlocvars; /* number of elements in `locvars' */ | 80 | short nlocvars; /* number of elements in `locvars' */ |
| 82 | lu_byte nactvar; /* number of active local variables */ | 81 | lu_byte nactvar; /* number of active local variables */ |
| 83 | lu_byte nups; /* number of upvalues */ | 82 | lu_byte nups; /* number of upvalues */ |
| 84 | lu_byte envreg; /* register holding current lexical environment */ | ||
| 85 | } FuncState; | 83 | } FuncState; |
| 86 | 84 | ||
| 87 | 85 | ||
