diff options
Diffstat (limited to '')
-rw-r--r-- | lgc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lgc.c,v 1.57 2000/06/12 13:52:05 roberto Exp roberto $ | 2 | ** $Id: lgc.c,v 1.58 2000/06/26 19:28:31 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 | */ |
@@ -206,7 +206,7 @@ static void collectudatatab (lua_State *L, int all) { | |||
206 | TString **p = &L->udt.hash[i]; | 206 | TString **p = &L->udt.hash[i]; |
207 | TString *next; | 207 | TString *next; |
208 | while ((next = *p) != NULL) { | 208 | while ((next = *p) != NULL) { |
209 | LUA_ASSERT(L, next->marked <= 1, "udata cannot be fixed"); | 209 | LUA_ASSERT(next->marked <= 1, "udata cannot be fixed"); |
210 | if (next->marked > all) { /* preserve? */ | 210 | if (next->marked > all) { /* preserve? */ |
211 | next->marked = 0; | 211 | next->marked = 0; |
212 | p = &next->nexthash; | 212 | p = &next->nexthash; |