From 41259bff31dbb904edfb8070006ccb15577f8f04 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 12 Feb 1996 15:32:40 -0300 Subject: BIG CHANGE: new data structure for constants, strings and globals, using an array of hash tables for all them. --- inout.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'inout.c') diff --git a/inout.c b/inout.c index a3100a4f..8ba4b6bb 100644 --- a/inout.c +++ b/inout.c @@ -5,7 +5,7 @@ ** Also provides some predefined lua functions. */ -char *rcs_inout="$Id: inout.c,v 2.28 1996/01/26 16:52:47 roberto Exp roberto $"; +char *rcs_inout="$Id: inout.c,v 2.29 1996/02/07 14:13:47 roberto Exp roberto $"; #include #include @@ -68,7 +68,7 @@ int lua_openfile (char *fn) if (fp == NULL) return 1; lua_linenumber = 1; - lua_parsedfile = lua_constcreate(fn)->ts.str; + lua_parsedfile = lua_constcreate(fn)->str; return 0; } @@ -92,7 +92,7 @@ void lua_openstring (char *s) lua_setinput (stringinput); st = s; lua_linenumber = 1; - lua_parsedfile = lua_constcreate("(string)")->ts.str; + lua_parsedfile = lua_constcreate("(string)")->str; } /* -- cgit v1.2.3-55-g6feb