aboutsummaryrefslogtreecommitdiff
path: root/lbuiltin.c
diff options
context:
space:
mode:
Diffstat (limited to 'lbuiltin.c')
-rw-r--r--lbuiltin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lbuiltin.c b/lbuiltin.c
index 8526ae27..f67059ca 100644
--- a/lbuiltin.c
+++ b/lbuiltin.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbuiltin.c,v 1.45 1999/01/04 17:34:49 roberto Exp roberto $ 2** $Id: lbuiltin.c,v 1.46 1999/01/22 18:46: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*/
@@ -348,7 +348,7 @@ static void luaB_foreach (void) {
348 luaD_checkstack(3); /* for f, ref, and val */ 348 luaD_checkstack(3); /* for f, ref, and val */
349 for (i=0; i<a->nhash; i++) { 349 for (i=0; i<a->nhash; i++) {
350 Node *nd = &(a->node[i]); 350 Node *nd = &(a->node[i]);
351 if (ttype(ref(nd)) != LUA_T_NIL && ttype(val(nd)) != LUA_T_NIL) { 351 if (ttype(val(nd)) != LUA_T_NIL) {
352 *(L->stack.top++) = *f; 352 *(L->stack.top++) = *f;
353 *(L->stack.top++) = *ref(nd); 353 *(L->stack.top++) = *ref(nd);
354 *(L->stack.top++) = *val(nd); 354 *(L->stack.top++) = *val(nd);