aboutsummaryrefslogtreecommitdiff
path: root/lgc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lgc.c')
-rw-r--r--lgc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lgc.c b/lgc.c
index 48a022e9..c8331b69 100644
--- a/lgc.c
+++ b/lgc.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.c,v 1.85 2001/02/02 15:13:05 roberto Exp roberto $ 2** $Id: lgc.c,v 1.86 2001/02/02 16:23:20 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*/
@@ -147,7 +147,7 @@ static void traversetable (GCState *st, Hash *h) {
147 Node *n = node(h, i); 147 Node *n = node(h, i);
148 if (ttype(val(n)) == LUA_TNIL) { 148 if (ttype(val(n)) == LUA_TNIL) {
149 if (ttype_key(n) != LUA_TNIL) 149 if (ttype_key(n) != LUA_TNIL)
150 n->key_value.v = NULL; /* dead key; remove it */ 150 n->key_value.ts = NULL; /* dead key; remove it */
151 } 151 }
152 else { 152 else {
153 lua_assert(ttype_key(n) != LUA_TNIL); 153 lua_assert(ttype_key(n) != LUA_TNIL);