aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lapi.c b/lapi.c
index f3c2b2f3..80e89f12 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 2.251 2015/07/20 18:24:50 roberto Exp roberto $ 2** $Id: lapi.c,v 2.252 2015/08/03 19:50:49 roberto Exp roberto $
3** Lua API 3** Lua API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -736,6 +736,7 @@ static void auxsetstr (lua_State *L, const TValue *t, const char *k) {
736 TString *str = luaS_new(L, k); 736 TString *str = luaS_new(L, k);
737 api_checknelems(L, 1); 737 api_checknelems(L, 1);
738 if (luaV_fastset(L, t, str, aux, luaH_getstr, L->top)) { 738 if (luaV_fastset(L, t, str, aux, luaH_getstr, L->top)) {
739 invalidateTMcache(hvalue(t));
739 setobj2t(L, cast(TValue *, aux), L->top - 1); 740 setobj2t(L, cast(TValue *, aux), L->top - 1);
740 L->top--; /* pop value */ 741 L->top--; /* pop value */
741 } 742 }