Skip to content
Permalink
Browse files
disable loading lua bytecode
  • Loading branch information
benmmurphy authored and antirez committed Jun 3, 2015
1 parent 357a40c commit fdf9d45
Showing 1 changed file with 1 addition and 1 deletion.
@@ -495,7 +495,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;

0 comments on commit fdf9d45

Please sign in to comment.