aboutsummaryrefslogtreecommitdiff
path: root/lparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'lparser.h')
-rw-r--r--lparser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lparser.h b/lparser.h
index 1b94a97a..8b070b0e 100644
--- a/lparser.h
+++ b/lparser.h
@@ -88,6 +88,7 @@ typedef struct Labeldesc {
88 int pc; /* position in code */ 88 int pc; /* position in code */
89 int line; /* line where it appeared */ 89 int line; /* line where it appeared */
90 lu_byte nactvar; /* local level where it appears in current block */ 90 lu_byte nactvar; /* local level where it appears in current block */
91 lu_byte close; /* goto that escapes upvalues */
91} Labeldesc; 92} Labeldesc;
92 93
93 94
@@ -128,6 +129,7 @@ typedef struct FuncState {
128 int np; /* number of elements in 'p' */ 129 int np; /* number of elements in 'p' */
129 int nabslineinfo; /* number of elements in 'abslineinfo' */ 130 int nabslineinfo; /* number of elements in 'abslineinfo' */
130 int firstlocal; /* index of first local var (in Dyndata array) */ 131 int firstlocal; /* index of first local var (in Dyndata array) */
132 int firstlabel; /* index of first label (in 'dyd->label->arr') */
131 short nlocvars; /* number of elements in 'f->locvars' */ 133 short nlocvars; /* number of elements in 'f->locvars' */
132 lu_byte nactvar; /* number of active local variables */ 134 lu_byte nactvar; /* number of active local variables */
133 lu_byte nups; /* number of upvalues */ 135 lu_byte nups; /* number of upvalues */