aboutsummaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-03-21 18:39:57 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-03-21 18:39:57 -0300
commitc3488f51152ea2705ef6a256de7756cbeaf044f6 (patch)
tree9f57c6a177ee9f0f331f42690451cad1bfa4a830 /hash.c
parent6fef372fb8b14be806070d6c2e96fd2b9cb2e41a (diff)
downloadlua-c3488f51152ea2705ef6a256de7756cbeaf044f6.tar.gz
lua-c3488f51152ea2705ef6a256de7756cbeaf044f6.tar.bz2
lua-c3488f51152ea2705ef6a256de7756cbeaf044f6.zip
must call "gc" i.m. for nil after all others.
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hash.c b/hash.c
index 5386b364..8759938c 100644
--- a/hash.c
+++ b/hash.c
@@ -3,7 +3,7 @@
3** hash manager for lua 3** hash manager for lua
4*/ 4*/
5 5
6char *rcs_hash="$Id: hash.c,v 2.35 1997/03/11 18:44:28 roberto Exp roberto $"; 6char *rcs_hash="$Id: hash.c,v 2.36 1997/03/19 19:41:10 roberto Exp roberto $";
7 7
8 8
9#include "mem.h" 9#include "mem.h"
@@ -170,8 +170,6 @@ void luaI_hashcallIM (void)
170 avalue(&t) = curr_array; 170 avalue(&t) = curr_array;
171 luaI_gcIM(&t); 171 luaI_gcIM(&t);
172 } 172 }
173 ttype(&t) = LUA_T_NIL;
174 luaI_gcIM(&t); /* end of list */
175} 173}
176 174
177 175