diff options
Diffstat (limited to 'ltable.c')
| -rw-r--r-- | ltable.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltable.c,v 1.115 2002/08/05 14:45:32 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 1.116 2002/08/06 17:06:56 roberto Exp roberto $ |
| 3 | ** Lua tables (hash) | 3 | ** Lua tables (hash) |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -307,8 +307,8 @@ Table *luaH_new (lua_State *L, int narray, int lnhash) { | |||
| 307 | t->metatable = hvalue(defaultmeta(L)); | 307 | t->metatable = hvalue(defaultmeta(L)); |
| 308 | t->next = G(L)->roottable; | 308 | t->next = G(L)->roottable; |
| 309 | G(L)->roottable = t; | 309 | G(L)->roottable = t; |
| 310 | t->mark = t; | ||
| 311 | t->flags = cast(lu_byte, ~0); | 310 | t->flags = cast(lu_byte, ~0); |
| 311 | t->marked = 0; | ||
| 312 | t->mode = 0; | 312 | t->mode = 0; |
| 313 | /* temporary values (kept only if some malloc fails) */ | 313 | /* temporary values (kept only if some malloc fails) */ |
| 314 | t->array = NULL; | 314 | t->array = NULL; |
