summaryrefslogtreecommitdiffstats
path: root/apps/plugins/lua/lparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua/lparser.h')
-rw-r--r--apps/plugins/lua/lparser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/lua/lparser.h b/apps/plugins/lua/lparser.h
index f9b8e24913..a6af9eb94f 100644
--- a/apps/plugins/lua/lparser.h
+++ b/apps/plugins/lua/lparser.h
@@ -72,6 +72,11 @@ typedef struct FuncState {
lu_byte nactvar; /* number of active local variables */
upvaldesc upvalues[LUAI_MAXUPVALUES]; /* upvalues */
unsigned short actvar[LUAI_MAXVARS]; /* declared-variable stack */
+#ifdef LUA_OPTIMIZE_DEBUG
+ int lastline; /* only used during compilation for line info */
+ int lastlineOffset; /* ditto */
+ int lineinfoLastPC; /* ditto */
+#endif
} FuncState;