From da19c436cc361401563eeda2cca3d161a6ddeef7 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 16 Aug 2002 11:45:55 -0300 Subject: cleaning the stage for generational collection --- ltable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltable.c') diff --git a/ltable.c b/ltable.c index 6ef7aa57..64afbef9 100644 --- a/ltable.c +++ b/ltable.c @@ -1,5 +1,5 @@ /* -** $Id: ltable.c,v 1.115 2002/08/05 14:45:32 roberto Exp roberto $ +** $Id: ltable.c,v 1.116 2002/08/06 17:06:56 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -307,8 +307,8 @@ Table *luaH_new (lua_State *L, int narray, int lnhash) { t->metatable = hvalue(defaultmeta(L)); t->next = G(L)->roottable; G(L)->roottable = t; - t->mark = t; t->flags = cast(lu_byte, ~0); + t->marked = 0; t->mode = 0; /* temporary values (kept only if some malloc fails) */ t->array = NULL; -- cgit v1.2.3-55-g6feb