Skip to content

Commit fdf9d45

Browse files
benmmurphyantirez
authored andcommitted
disable loading lua bytecode
1 parent 357a40c commit fdf9d45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: deps/lua/src/ldo.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ static void f_parser (lua_State *L, void *ud) {
495495
struct SParser *p = cast(struct SParser *, ud);
496496
int c = luaZ_lookahead(p->z);
497497
luaC_checkGC(L);
498-
tf = ((c == LUA_SIGNATURE[0]) ? luaU_undump : luaY_parser)(L, p->z,
498+
tf = (luaY_parser)(L, p->z,
499499
&p->buff, p->name);
500500
cl = luaF_newLclosure(L, tf->nups, hvalue(gt(L)));
501501
cl->l.p = tf;

0 commit comments

Comments
 (0)