disable loading lua bytecode
This commit is contained in:
parent
357a40c4fc
commit
fdf9d45509
2
deps/lua/src/ldo.c
vendored
2
deps/lua/src/ldo.c
vendored
@ -495,7 +495,7 @@ static void f_parser (lua_State *L, void *ud) {
|
|||||||
struct SParser *p = cast(struct SParser *, ud);
|
struct SParser *p = cast(struct SParser *, ud);
|
||||||
int c = luaZ_lookahead(p->z);
|
int c = luaZ_lookahead(p->z);
|
||||||
luaC_checkGC(L);
|
luaC_checkGC(L);
|
||||||
tf = ((c == LUA_SIGNATURE[0]) ? luaU_undump : luaY_parser)(L, p->z,
|
tf = (luaY_parser)(L, p->z,
|
||||||
&p->buff, p->name);
|
&p->buff, p->name);
|
||||||
cl = luaF_newLclosure(L, tf->nups, hvalue(gt(L)));
|
cl = luaF_newLclosure(L, tf->nups, hvalue(gt(L)));
|
||||||
cl->l.p = tf;
|
cl->l.p = tf;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user