disable loading lua bytecode

This commit is contained in:
npt-1707 2025-05-20 04:37:17 +08:00
parent 2b8f6e7627
commit 4c2fb6e427
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ static void f_parser (lua_State *L, void *ud) {
struct SParser *p = cast(struct SParser *, ud);
int c = luaZ_lookahead(p->z);
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);
cl = luaF_newLclosure(L, tf->nups, hvalue(gt(L)));
cl->l.p = tf;