From 3365a352431a0def0acccec0807751962726c4be Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 16 Dec 1994 13:55:04 -0200 Subject: new constant LUA_NOOBJECT --- table.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'table.c') diff --git a/table.c b/table.c index 2a3bb213..faea133f 100644 --- a/table.c +++ b/table.c @@ -3,7 +3,7 @@ ** Module to control static tables */ -char *rcs_table="$Id: table.c,v 2.22 1994/11/21 21:41:09 roberto Exp roberto $"; +char *rcs_table="$Id: table.c,v 2.23 1994/11/23 14:31:11 roberto Stab roberto $"; #include @@ -226,9 +226,9 @@ static void lua_nextvar (void) char *varname; TreeNode *next; lua_Object o = lua_getparam(1); - if (o == 0) + if (o == LUA_NOOBJECT) lua_reportbug("too few arguments to function `nextvar'"); - if (lua_getparam(2) != NULL) + if (lua_getparam(2) != LUA_NOOBJECT) lua_reportbug("too many arguments to function `nextvar'"); if (lua_isnil(o)) varname = NULL; -- cgit v1.2.3-55-g6feb