luaI_initTFunc initializes fileName.
This commit is contained in:
3
func.c
3
func.c
@@ -5,6 +5,7 @@
|
||||
#include "luamem.h"
|
||||
#include "func.h"
|
||||
#include "opcode.h"
|
||||
#include "inout.h"
|
||||
|
||||
|
||||
static TFunc *function_root = NULL;
|
||||
@@ -23,7 +24,7 @@ void luaI_initTFunc (TFunc *f)
|
||||
f->size = 0;
|
||||
f->code = NULL;
|
||||
f->lineDefined = 0;
|
||||
f->fileName = NULL;
|
||||
f->fileName = lua_parsedfile;
|
||||
f->locvars = NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user