aboutsummaryrefslogtreecommitdiff
path: root/lgc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lgc.c')
-rw-r--r--lgc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lgc.c b/lgc.c
index ad82c411..fe55f3e7 100644
--- a/lgc.c
+++ b/lgc.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.c,v 1.31 1999/11/10 15:40:46 roberto Exp roberto $ 2** $Id: lgc.c,v 1.32 1999/11/22 13:12:07 roberto Exp roberto $
3** Garbage Collector 3** Garbage Collector
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -54,8 +54,8 @@ static void hashmark (lua_State *L, Hash *h) {
54 int i; 54 int i;
55 h->marked = 1; 55 h->marked = 1;
56 for (i=h->size-1; i>=0; i--) { 56 for (i=h->size-1; i>=0; i--) {
57 Node *n = node(L, h,i); 57 Node *n = node(h,i);
58 if (ttype(key(L, n)) != LUA_T_NIL) { 58 if (ttype(key(n)) != LUA_T_NIL) {
59 markobject(L, &n->key); 59 markobject(L, &n->key);
60 markobject(L, &n->val); 60 markobject(L, &n->val);
61 } 61 }