diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-03-21 18:39:57 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-03-21 18:39:57 -0300 |
| commit | c3488f51152ea2705ef6a256de7756cbeaf044f6 (patch) | |
| tree | 9f57c6a177ee9f0f331f42690451cad1bfa4a830 /hash.c | |
| parent | 6fef372fb8b14be806070d6c2e96fd2b9cb2e41a (diff) | |
| download | lua-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.c | 4 |
1 files changed, 1 insertions, 3 deletions
| @@ -3,7 +3,7 @@ | |||
| 3 | ** hash manager for lua | 3 | ** hash manager for lua |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | char *rcs_hash="$Id: hash.c,v 2.35 1997/03/11 18:44:28 roberto Exp roberto $"; | 6 | char *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 | ||
