From 03f3f9e707ceaf46efb4917f8d32ea62283b9358 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 22 Dec 1997 18:57:18 -0200 Subject: "zio" now keeps its "name". --- lua.stx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lua.stx') diff --git a/lua.stx b/lua.stx index 6dbaf32b..3eac8519 100644 --- a/lua.stx +++ b/lua.stx @@ -1,6 +1,6 @@ %{ /* -** $Id: lua.stx,v 1.23 1997/12/15 16:17:20 roberto Exp roberto $ +** $Id: lua.stx,v 1.24 1997/12/22 17:24:11 roberto Exp roberto $ ** Syntax analizer and code generator ** See Copyright Notice in lua.h */ @@ -619,14 +619,14 @@ static TProtoFunc *close_func (void) /* ** Parse Lua code. */ -TProtoFunc *luaY_parser (ZIO *z, char *chunkname) +TProtoFunc *luaY_parser (ZIO *z) { struct LexState lexstate; FuncState state[MAXSTATES]; L->currState = L->mainState = &state[0]; L->lexstate = &lexstate; luaX_setinput(z); - init_state(luaS_new(chunkname)); + init_state(luaS_new(zname(z))); if (luaY_parse()) lua_error("parse error"); return close_func(); } -- cgit v1.2.3-55-g6feb