aboutsummaryrefslogtreecommitdiff
path: root/lfunc.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-12-30 11:45:08 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-12-30 11:45:08 -0300
commitbd1b87c5790c0c6fe23f76aa360e879922e1e738 (patch)
tree49978c2dd847c7ff4ec84e1a153ca37deef79e2a /lfunc.c
parentd7bb8df8414f71a290c8a4b1c9f7c6fe839a94df (diff)
downloadlua-bd1b87c5790c0c6fe23f76aa360e879922e1e738.tar.gz
lua-bd1b87c5790c0c6fe23f76aa360e879922e1e738.tar.bz2
lua-bd1b87c5790c0c6fe23f76aa360e879922e1e738.zip
Comments (mosty typos)
Diffstat (limited to 'lfunc.c')
-rw-r--r--lfunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lfunc.c b/lfunc.c
index 0ef73284..60689a7a 100644
--- a/lfunc.c
+++ b/lfunc.c
@@ -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);