From 9fcc48517659c72de43bece515fdd5cea88c07f8 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 25 Aug 2003 16:51:54 -0300 Subject: zio does not keep "source" name (nobody uses it) --- lundump.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lundump.c') diff --git a/lundump.c b/lundump.c index a4a9bc26..30f6f904 100644 --- a/lundump.c +++ b/lundump.c @@ -1,5 +1,5 @@ /* -** $Id: lundump.c,v 1.49 2003/04/07 20:34:20 lhf Exp lhf $ +** $Id: lundump.c,v 1.62 2003/08/15 13:48:53 roberto Exp roberto $ ** load pre-compiled Lua chunks ** See Copyright Notice in lua.h */ @@ -256,10 +256,9 @@ static Proto* LoadChunk (LoadState* S) /* ** load precompiled chunk */ -Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff) +Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char *s) { LoadState S; - const char* s=zname(Z); if (*s=='@' || *s=='=') S.name=s+1; else if (*s==LUA_SIGNATURE[0]) -- cgit v1.2.3-55-g6feb