aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1995-10-25 11:05:51 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1995-10-25 11:05:51 -0200
commit9efc257d9d774501af4538a289729f3e8e5e3d7e (patch)
treec4113f56f9bdcf6e1e66ac11f2cf5483387f3bc8 /lua.h
parentfa71304e54f304ceceddef3a4b97b38228822e94 (diff)
downloadlua-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 'lua.h')
-rw-r--r--lua.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua.h b/lua.h
index 80c50e4c..7ab5204f 100644
--- a/lua.h
+++ b/lua.h
@@ -2,7 +2,7 @@
2** LUA - Linguagem para Usuarios de Aplicacao 2** LUA - Linguagem para Usuarios de Aplicacao
3** Grupo de Tecnologia em Computacao Grafica 3** Grupo de Tecnologia em Computacao Grafica
4** TeCGraf - PUC-Rio 4** TeCGraf - PUC-Rio
5** $Id: lua.h,v 3.17 1995/10/06 14:11:10 roberto Exp roberto $ 5** $Id: lua.h,v 3.18 1995/10/17 14:12:45 roberto Exp roberto $
6*/ 6*/
7 7
8 8
@@ -26,6 +26,7 @@ typedef enum
26 LUA_T_CFUNCTION= -6, 26 LUA_T_CFUNCTION= -6,
27 LUA_T_MARK = -7, 27 LUA_T_MARK = -7,
28 LUA_T_CMARK = -8, 28 LUA_T_CMARK = -8,
29 LUA_T_LINE = -9,
29 LUA_T_USERDATA = 0 30 LUA_T_USERDATA = 0
30} lua_Type; 31} lua_Type;
31 32