diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1995-10-25 11:05:51 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1995-10-25 11:05:51 -0200 |
commit | 9efc257d9d774501af4538a289729f3e8e5e3d7e (patch) | |
tree | c4113f56f9bdcf6e1e66ac11f2cf5483387f3bc8 /inout.c | |
parent | fa71304e54f304ceceddef3a4b97b38228822e94 (diff) | |
download | lua-9efc257d9d774501af4538a289729f3e8e5e3d7e.tar.gz lua-9efc257d9d774501af4538a289729f3e8e5e3d7e.tar.bz2 lua-9efc257d9d774501af4538a289729f3e8e5e3d7e.zip |
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.
Diffstat (limited to 'inout.c')
-rw-r--r-- | inout.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -5,7 +5,7 @@ | |||
5 | ** Also provides some predefined lua functions. | 5 | ** Also provides some predefined lua functions. |
6 | */ | 6 | */ |
7 | 7 | ||
8 | char *rcs_inout="$Id: inout.c,v 2.23 1995/10/17 11:58:41 roberto Exp roberto $"; | 8 | char *rcs_inout="$Id: inout.c,v 2.24 1995/10/23 13:54:11 roberto Exp roberto $"; |
9 | 9 | ||
10 | #include <stdio.h> | 10 | #include <stdio.h> |
11 | #include <stdlib.h> | 11 | #include <stdlib.h> |
@@ -29,8 +29,7 @@ char *rcs_inout="$Id: inout.c,v 2.23 1995/10/17 11:58:41 roberto Exp roberto $"; | |||
29 | 29 | ||
30 | /* Exported variables */ | 30 | /* Exported variables */ |
31 | Word lua_linenumber; | 31 | Word lua_linenumber; |
32 | Bool lua_debug; | 32 | Bool lua_debug = 0; |
33 | Word lua_debugline = 0; | ||
34 | char *lua_parsedfile; | 33 | char *lua_parsedfile; |
35 | 34 | ||
36 | 35 | ||