diff options
| author | Lua Team <team@lua.org> | 2015-01-12 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 2015-01-12 12:00:00 +0000 |
| commit | 34c362812ab38172d3da36404ec9a85f929579c5 (patch) | |
| tree | a54637781398b630824152ae05672536c0fa8341 /src/ltable.c | |
| parent | 6b0dd2d3885d020d3154e0da84de92e9ee8b2c82 (diff) | |
| download | lua-github-5.3.0.tar.gz | |
Diffstat (limited to 'src/ltable.c')
| -rw-r--r-- | src/ltable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ltable.c b/src/ltable.c index e8ef146c..38be0051 100644 --- a/src/ltable.c +++ b/src/ltable.c @@ -1,5 +1,5 @@ /* -** $Id: ltable.c,v 2.99 2014/11/02 19:19:04 roberto Exp $ +** $Id: ltable.c,v 2.100 2015/01/05 13:52:37 roberto Exp $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -484,7 +484,7 @@ TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key) { mp = f; } } - setkey(L, &mp->i_key, key); + setnodekey(L, &mp->i_key, key); luaC_barrierback(L, t, key); lua_assert(ttisnil(gval(mp))); return gval(mp); |
