diff options
Diffstat (limited to 'ltable.c')
-rw-r--r-- | ltable.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.c,v 1.114 2002/07/17 16:25:13 roberto Exp $ | 2 | ** $Id: ltable.c,v 1.115 2002/08/05 14:45:32 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 | */ |
@@ -309,6 +309,7 @@ Table *luaH_new (lua_State *L, int narray, int lnhash) { | |||
309 | G(L)->roottable = t; | 309 | G(L)->roottable = t; |
310 | t->mark = t; | 310 | t->mark = t; |
311 | t->flags = cast(lu_byte, ~0); | 311 | t->flags = cast(lu_byte, ~0); |
312 | t->mode = 0; | ||
312 | /* temporary values (kept only if some malloc fails) */ | 313 | /* temporary values (kept only if some malloc fails) */ |
313 | t->array = NULL; | 314 | t->array = NULL; |
314 | t->sizearray = 0; | 315 | t->sizearray = 0; |