diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-01 15:40:48 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-01 15:40:48 -0200 |
commit | e506b864cdc522ed7bf33e81d785fcfbd40a0368 (patch) | |
tree | c62865ee026136cd8784658110e8928127ad276c /ltable.c | |
parent | 9a231afa9721e87ae5f9790dedcb73cd58472a3f (diff) | |
download | lua-e506b864cdc522ed7bf33e81d785fcfbd40a0368.tar.gz lua-e506b864cdc522ed7bf33e81d785fcfbd40a0368.tar.bz2 lua-e506b864cdc522ed7bf33e81d785fcfbd40a0368.zip |
no need for tags in boxed values :-(
Diffstat (limited to 'ltable.c')
-rw-r--r-- | ltable.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.c,v 1.73 2001/01/29 19:34:02 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 1.74 2001/01/30 19:48:37 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 | */ |
@@ -98,7 +98,6 @@ static void setnodevector (lua_State *L, Hash *t, luint32 size) { | |||
98 | 98 | ||
99 | Hash *luaH_new (lua_State *L, int size) { | 99 | Hash *luaH_new (lua_State *L, int size) { |
100 | Hash *t = luaM_new(L, Hash); | 100 | Hash *t = luaM_new(L, Hash); |
101 | t->v.ttype = LUA_TTABLE; | ||
102 | t->htag = TagDefault; | 101 | t->htag = TagDefault; |
103 | t->next = G(L)->roottable; | 102 | t->next = G(L)->roottable; |
104 | G(L)->roottable = t; | 103 | G(L)->roottable = t; |