summaryrefslogtreecommitdiff
path: root/deps/lua
diff options
context:
space:
mode:
authorBen Murphy <benmmurphy@gmail.com>2015-05-11 23:24:24 +0100
committerantirez <antirez@gmail.com>2015-06-03 13:33:28 +0200
commitfdf9d455098f54f7666c702ae464e6ea21e25411 (patch)
tree4a4d0571b4e78eb7f55da797b0f3112f78a81ed2 /deps/lua
parent357a40c4fc1f5ad3c143e6afbb0ada8d68432221 (diff)
downloadredis-fdf9d455098f54f7666c702ae464e6ea21e25411.tar.gz
disable loading lua bytecode
Diffstat (limited to 'deps/lua')
-rw-r--r--deps/lua/src/ldo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/lua/src/ldo.c b/deps/lua/src/ldo.c
index d1bf786cb..514f7a2a3 100644
--- a/deps/lua/src/ldo.c
+++ b/deps/lua/src/ldo.c
@@ -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;