aboutsummaryrefslogtreecommitdiff
path: root/table.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1995-05-16 14:23:58 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1995-05-16 14:23:58 -0300
commitec79f25286a4ac843280ae7377ec1e5b39a70cea (patch)
tree03872cdc5d5f18266021c1cc5d07b214daf59ff3 /table.c
parent18ea2eff80c720632cb6a89d560c5cce2377df06 (diff)
downloadlua-ec79f25286a4ac843280ae7377ec1e5b39a70cea.tar.gz
lua-ec79f25286a4ac843280ae7377ec1e5b39a70cea.tar.bz2
lua-ec79f25286a4ac843280ae7377ec1e5b39a70cea.zip
new lua function "getstack"; new interface to function luaI_reportbug.
Diffstat (limited to 'table.c')
-rw-r--r--table.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/table.c b/table.c
index 75fa21f2..d3fb89c3 100644
--- a/table.c
+++ b/table.c
@@ -3,7 +3,7 @@
3** Module to control static tables 3** Module to control static tables
4*/ 4*/
5 5
6char *rcs_table="$Id: table.c,v 2.28 1995/01/18 20:15:54 celes Exp roberto $"; 6char *rcs_table="$Id: table.c,v 2.29 1995/05/02 18:43:03 roberto Exp roberto $";
7 7
8#include <string.h> 8#include <string.h>
9 9
@@ -68,6 +68,8 @@ static void lua_initsymbol (void)
68 s_tag(n) = LUA_T_CFUNCTION; s_fvalue(n) = lua_internaldostring; 68 s_tag(n) = LUA_T_CFUNCTION; s_fvalue(n) = lua_internaldostring;
69 n = luaI_findsymbolbyname("setfallback"); 69 n = luaI_findsymbolbyname("setfallback");
70 s_tag(n) = LUA_T_CFUNCTION; s_fvalue(n) = luaI_setfallback; 70 s_tag(n) = LUA_T_CFUNCTION; s_fvalue(n) = luaI_setfallback;
71 n = luaI_findsymbolbyname("getstack");
72 s_tag(n) = LUA_T_CFUNCTION; s_fvalue(n) = luaI_getstack;
71 n = luaI_findsymbolbyname("error"); 73 n = luaI_findsymbolbyname("error");
72 s_tag(n) = LUA_T_CFUNCTION; s_fvalue(n) = luaI_error; 74 s_tag(n) = LUA_T_CFUNCTION; s_fvalue(n) = luaI_error;
73} 75}