diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2006-02-17 13:51:03 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2006-02-17 13:51:03 -0200 |
commit | 69ea087dff1daba25a2000dfb8f1883c17545b7a (patch) | |
tree | b6abdd69100d6e5cb738775ae09eb2eb3ae0f262 /lundump.c | |
parent | c05aaf3bf003d57eed54523c8d122897067238ed (diff) | |
download | lua-69ea087dff1daba25a2000dfb8f1883c17545b7a.tar.gz lua-69ea087dff1daba25a2000dfb8f1883c17545b7a.tar.bz2 lua-69ea087dff1daba25a2000dfb8f1883c17545b7a.zip |
small change to strip file names when stripping debug informationv5.1
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 | /* |