diff options
Diffstat (limited to 'lvm.c')
-rw-r--r-- | lvm.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -362,8 +362,10 @@ void luaV_finishset (lua_State *L, const TValue *t, TValue *key, | |||
362 | } | 362 | } |
363 | t = tm; /* else repeat assignment over 'tm' */ | 363 | t = tm; /* else repeat assignment over 'tm' */ |
364 | luaV_fastset(t, key, val, hres, luaH_pset); | 364 | luaV_fastset(t, key, val, hres, luaH_pset); |
365 | if (hres == HOK) | 365 | if (hres == HOK) { |
366 | luaV_finishfastset(L, t, val); | ||
366 | return; /* done */ | 367 | return; /* done */ |
368 | } | ||
367 | /* else 'return luaV_finishset(L, t, key, val, slot)' (loop) */ | 369 | /* else 'return luaV_finishset(L, t, key, val, slot)' (loop) */ |
368 | } | 370 | } |
369 | luaG_runerror(L, "'__newindex' chain too long; possible loop"); | 371 | luaG_runerror(L, "'__newindex' chain too long; possible loop"); |