summaryrefslogtreecommitdiff
path: root/src/lparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lparser.h')
-rw-r--r--src/lparser.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/lparser.h b/src/lparser.h
index 2ad0a509..9e406a7b 100644
--- a/src/lparser.h
+++ b/src/lparser.h
@@ -1,5 +1,5 @@
/*
-** $Id: lparser.h,v 1.61 2009/10/11 20:02:19 roberto Exp $
+** $Id: lparser.h,v 1.63 2010/03/12 19:14:06 roberto Exp $
** Lua Parser
** See Copyright Notice in lua.h
*/
@@ -23,10 +23,10 @@ typedef enum {
VFALSE,
VK, /* info = index of constant in `k' */
VKNUM, /* nval = numerical value */
- VLOCAL, /* info = local register; aux = read only */
- VUPVAL, /* info = index of upvalue in 'upvalues'; aux = read only */
- VGLOBAL, /* info = index of table; aux = index of global name in `k' */
- VINDEXED, /* info = table register; aux = index register (or `k') */
+ VLOCAL, /* info = local register */
+ VUPVAL, /* info = index of upvalue in 'upvalues' */
+ VINDEXED, /* info = table R/K; aux = index R/K */
+ VINDEXEDUP, /* info = table upvalue; aux = R/K */
VJMP, /* info = instruction pc */
VRELOCABLE, /* info = instruction pc */
VNONRELOC, /* info = result register */
@@ -80,7 +80,6 @@ typedef struct FuncState {
short nlocvars; /* number of elements in `locvars' */
lu_byte nactvar; /* number of active local variables */
lu_byte nups; /* number of upvalues */
- lu_byte envreg; /* register holding current lexical environment */
} FuncState;