aboutsummaryrefslogtreecommitdiff
path: root/func.c
diff options
context:
space:
mode:
Diffstat (limited to 'func.c')
-rw-r--r--func.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/func.c b/func.c
index 3c922043..36f7e19f 100644
--- a/func.c
+++ b/func.c
@@ -5,6 +5,7 @@
5#include "luamem.h" 5#include "luamem.h"
6#include "func.h" 6#include "func.h"
7#include "opcode.h" 7#include "opcode.h"
8#include "inout.h"
8 9
9 10
10static TFunc *function_root = NULL; 11static TFunc *function_root = NULL;
@@ -23,7 +24,7 @@ void luaI_initTFunc (TFunc *f)
23 f->size = 0; 24 f->size = 0;
24 f->code = NULL; 25 f->code = NULL;
25 f->lineDefined = 0; 26 f->lineDefined = 0;
26 f->fileName = NULL; 27 f->fileName = lua_parsedfile;
27 f->locvars = NULL; 28 f->locvars = NULL;
28} 29}
29 30