summaryrefslogtreecommitdiffstats
path: root/apps/plugins/lua/lobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua/lobject.h')
-rw-r--r--apps/plugins/lua/lobject.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/lua/lobject.h b/apps/plugins/lua/lobject.h
index 028ff0355b..83651c2c47 100644
--- a/apps/plugins/lua/lobject.h
+++ b/apps/plugins/lua/lobject.h
@@ -240,7 +240,11 @@ typedef struct Proto {
TValue *k; /* constants used by the function */
Instruction *code;
struct Proto **p; /* functions defined inside the function */
+#ifdef LUA_OPTIMIZE_DEBUG
+ unsigned char *packedlineinfo;
+#else
int *lineinfo; /* map from opcodes to source lines */
+#endif
struct LocVar *locvars; /* information about local variables */
TString **upvalues; /* upvalue names */
TString *source;