summaryrefslogtreecommitdiff
path: root/src/lundump.c
diff options
context:
space:
mode:
authorLua Team <team@lua.org>2006-02-21 12:00:00 +0000
committerrepogen <>2006-02-21 12:00:00 +0000
commitf6f9af6cbce3516054b6fd2a8e9d3a1b168ce4be (patch)
tree445f56eafe5b8b782287fca4ca4197ba4970d322 /src/lundump.c
parent69c6ee1f592c6588bc11a8e02811230e77e984cf (diff)
downloadlua-github-5.1.tar.gz
Lua 5.15.1
Diffstat (limited to 'src/lundump.c')
-rw-r--r--src/lundump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lundump.c b/src/lundump.c
index 60a0eeed..7fc635ee 100644
--- a/src/lundump.c
+++ b/src/lundump.c
@@ -1,5 +1,5 @@
/*
-** $Id: lundump.c,v 1.59 2005/11/11 14:03:13 lhf Exp $
+** $Id: lundump.c,v 1.60 2006/02/16 15:53:49 lhf Exp $
** load precompiled Lua chunks
** See Copyright Notice in lua.h
*/
@@ -201,7 +201,7 @@ Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name)
S.Z=Z;
S.b=buff;
LoadHeader(&S);
- return LoadFunction(&S,NULL);
+ return LoadFunction(&S,luaS_newliteral(L,"=?"));
}
/*