diff options
author | Peter Drahoš <drahosp@gmail.com> | 2012-03-09 15:29:03 +0100 |
---|---|---|
committer | Peter Drahoš <drahosp@gmail.com> | 2012-03-09 15:29:03 +0100 |
commit | 1285f9a97c14116891c922b047594eb2175e5b1b (patch) | |
tree | 7282c20d4b36862a13a2f4fee812062331346058 /src/lvm.c | |
parent | 068edf316ea60ba0d32c4e50af3b9e1711876aa2 (diff) | |
download | lua-1285f9a97c14116891c922b047594eb2175e5b1b.tar.gz |
Lua 5.1.5 update using official release package.
Diffstat (limited to 'src/lvm.c')
-rw-r--r-- | src/lvm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* -** $Id: lvm.c,v 2.63.1.4 2009/07/01 21:10:33 roberto Exp $ +** $Id: lvm.c,v 2.63.1.5 2011/08/17 20:43:11 roberto Exp $ ** Lua virtual machine ** See Copyright Notice in lua.h */ @@ -142,6 +142,7 @@ void luaV_settable (lua_State *L, const TValue *t, TValue *key, StkId val) { if (!ttisnil(oldval) || /* result is no nil? */ (tm = fasttm(L, h->metatable, TM_NEWINDEX)) == NULL) { /* or no TM? */ setobj2t(L, oldval, val); + h->flags = 0; luaC_barriert(L, h, val); return; } |