mirror of
https://github.com/lua/lua
synced 2026-09-27 00:28:25 +03:00
Comments (mosty typos)
This commit is contained in:
parent
d7bb8df841
commit
bd1b87c579
15 changed files with 28 additions and 21 deletions
2
lfunc.c
2
lfunc.c
|
|
@ -165,7 +165,7 @@ static int callclosemth (lua_State *L, StkId level, int status) {
|
|||
if (newstatus != LUA_OK && status == CLOSEPROTECT) /* first error? */
|
||||
status = newstatus; /* this will be the new error */
|
||||
else {
|
||||
if (newstatus != LUA_OK) /* supressed error? */
|
||||
if (newstatus != LUA_OK) /* suppressed error? */
|
||||
luaE_warnerror(L, "__close metamethod");
|
||||
/* leave original error (or nil) on top */
|
||||
L->top = restorestack(L, oldtop);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue