aboutsummaryrefslogtreecommitdiff
path: root/src/lj_lex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_lex.h')
-rw-r--r--src/lj_lex.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lj_lex.h b/src/lj_lex.h
index 7a4fd74b..d16461a2 100644
--- a/src/lj_lex.h
+++ b/src/lj_lex.h
@@ -41,9 +41,11 @@ typedef struct BCInsLine {
41 41
42/* Info for local variables. Only used during bytecode generation. */ 42/* Info for local variables. Only used during bytecode generation. */
43typedef struct VarInfo { 43typedef struct VarInfo {
44 GCRef name; /* Local variable name. */ 44 GCRef name; /* Local variable name or goto/label name. */
45 BCPos startpc; /* First point where the local variable is active. */ 45 BCPos startpc; /* First point where the local variable is active. */
46 BCPos endpc; /* First point where the local variable is dead. */ 46 BCPos endpc; /* First point where the local variable is dead. */
47 uint8_t slot; /* Variable slot. */
48 uint8_t info; /* Variable/goto/label info. */
47} VarInfo; 49} VarInfo;
48 50
49/* Lua lexer state. */ 51/* Lua lexer state. */