diff options
Diffstat (limited to 'lfunc.c')
-rw-r--r-- | lfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -165,7 +165,7 @@ static int callclosemth (lua_State *L, StkId level, int status) { | |||
165 | if (newstatus != LUA_OK && status == CLOSEPROTECT) /* first error? */ | 165 | if (newstatus != LUA_OK && status == CLOSEPROTECT) /* first error? */ |
166 | status = newstatus; /* this will be the new error */ | 166 | status = newstatus; /* this will be the new error */ |
167 | else { | 167 | else { |
168 | if (newstatus != LUA_OK) /* supressed error? */ | 168 | if (newstatus != LUA_OK) /* suppressed error? */ |
169 | luaE_warnerror(L, "__close metamethod"); | 169 | luaE_warnerror(L, "__close metamethod"); |
170 | /* leave original error (or nil) on top */ | 170 | /* leave original error (or nil) on top */ |
171 | L->top = restorestack(L, oldtop); | 171 | L->top = restorestack(L, oldtop); |