aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lvm.c b/lvm.c
index af048d81..f14397d4 100644
--- a/lvm.c
+++ b/lvm.c
@@ -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");