From 9efc257d9d774501af4538a289729f3e8e5e3d7e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 25 Oct 1995 11:05:51 -0200 Subject: new method to keep debug line information: current line is stored on the Lua stack, just below (new) base, with tag LUA_T_LINE. SETLINE opcodes are generated by lex. --- inout.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'inout.c') diff --git a/inout.c b/inout.c index 0506d11e..ab827c05 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.23 1995/10/17 11:58:41 roberto Exp roberto $"; +char *rcs_inout="$Id: inout.c,v 2.24 1995/10/23 13:54:11 roberto Exp roberto $"; #include #include @@ -29,8 +29,7 @@ char *rcs_inout="$Id: inout.c,v 2.23 1995/10/17 11:58:41 roberto Exp roberto $"; /* Exported variables */ Word lua_linenumber; -Bool lua_debug; -Word lua_debugline = 0; +Bool lua_debug = 0; char *lua_parsedfile; -- cgit v1.2.3-55-g6feb