aboutsummaryrefslogtreecommitdiff
path: root/table.c
diff options
context:
space:
mode:
Diffstat (limited to 'table.c')
-rw-r--r--table.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/table.c b/table.c
index 2a3bb213..faea133f 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.22 1994/11/21 21:41:09 roberto Exp roberto $"; 6char *rcs_table="$Id: table.c,v 2.23 1994/11/23 14:31:11 roberto Stab roberto $";
7 7
8#include <string.h> 8#include <string.h>
9 9
@@ -226,9 +226,9 @@ static void lua_nextvar (void)
226 char *varname; 226 char *varname;
227 TreeNode *next; 227 TreeNode *next;
228 lua_Object o = lua_getparam(1); 228 lua_Object o = lua_getparam(1);
229 if (o == 0) 229 if (o == LUA_NOOBJECT)
230 lua_reportbug("too few arguments to function `nextvar'"); 230 lua_reportbug("too few arguments to function `nextvar'");
231 if (lua_getparam(2) != NULL) 231 if (lua_getparam(2) != LUA_NOOBJECT)
232 lua_reportbug("too many arguments to function `nextvar'"); 232 lua_reportbug("too many arguments to function `nextvar'");
233 if (lua_isnil(o)) 233 if (lua_isnil(o))
234 varname = NULL; 234 varname = NULL;