diff options
Diffstat (limited to 'lundump.c')
-rw-r--r-- | lundump.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lundump.c,v 1.58 2005/09/02 01:54:47 lhf Exp lhf $ | 2 | ** $Id: lundump.c,v 1.60 2006/02/16 15:53:49 lhf Exp $ |
3 | ** load precompiled Lua chunks | 3 | ** load precompiled Lua chunks |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -201,7 +201,7 @@ Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name) | |||
201 | S.Z=Z; | 201 | S.Z=Z; |
202 | S.b=buff; | 202 | S.b=buff; |
203 | LoadHeader(&S); | 203 | LoadHeader(&S); |
204 | return LoadFunction(&S,NULL); | 204 | return LoadFunction(&S,luaS_newliteral(L,"=?")); |
205 | } | 205 | } |
206 | 206 | ||
207 | /* | 207 | /* |