aboutsummaryrefslogtreecommitdiff
path: root/table.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-01-23 16:39:45 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-01-23 16:39:45 -0200
commit3681d025accc24c107da07c36f701596fa20806f (patch)
tree5449586aaf2aab26bdc05cb17b7e0314c7c1a3ea /table.c
parent2998049f510fdc73daf35ba3741fedb7faa775cc (diff)
downloadlua-3681d025accc24c107da07c36f701596fa20806f.tar.gz
lua-3681d025accc24c107da07c36f701596fa20806f.tar.bz2
lua-3681d025accc24c107da07c36f701596fa20806f.zip
new function "assert"
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 743f1f89..74418544 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.40 1996/01/22 14:15:13 roberto Exp roberto $"; 6char *rcs_table="$Id: table.c,v 2.41 1996/01/22 17:40:00 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) = luaI_print; 68 s_tag(n) = LUA_T_CFUNCTION; s_fvalue(n) = luaI_print;
69 n = luaI_findsymbolbyname("dostring"); 69 n = luaI_findsymbolbyname("dostring");
70 s_tag(n) = LUA_T_CFUNCTION; s_fvalue(n) = lua_internaldostring; 70 s_tag(n) = LUA_T_CFUNCTION; s_fvalue(n) = lua_internaldostring;
71 n = luaI_findsymbolbyname("assert");
72 s_tag(n) = LUA_T_CFUNCTION; s_fvalue(n) = luaI_assert;
71} 73}
72 74
73 75