aboutsummaryrefslogtreecommitdiff
path: root/lbuiltin.c
diff options
context:
space:
mode:
Diffstat (limited to 'lbuiltin.c')
-rw-r--r--lbuiltin.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lbuiltin.c b/lbuiltin.c
index 7dc09664..98918b54 100644
--- a/lbuiltin.c
+++ b/lbuiltin.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbuiltin.c,v 1.70 1999/11/04 17:22:26 roberto Exp roberto $ 2** $Id: lbuiltin.c,v 1.71 1999/11/10 15:41:11 roberto Exp roberto $
3** Built-in functions 3** Built-in functions
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -741,6 +741,10 @@ static void testC (void) {
741 n=lua_next(reg[n], (int)lua_getnumber(reg[getnum(s)])); 741 n=lua_next(reg[n], (int)lua_getnumber(reg[getnum(s)]));
742 lua_pushnumber(n); break; 742 lua_pushnumber(n); break;
743 } 743 }
744 case 'q' : { int n1=getnum(s); int n2=getnum(s);
745 lua_pushnumber(lua_equalobj(reg[n1], reg[n2]));
746 break;
747 }
744 default: luaL_verror("unknown command in `testC': %c", *(s-1)); 748 default: luaL_verror("unknown command in `testC': %c", *(s-1));
745 } 749 }
746 if (*s == 0) return; 750 if (*s == 0) return;