summaryrefslogtreecommitdiff
path: root/src/3rdParty/lua/lcorolib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdParty/lua/lcorolib.c')
-rw-r--r--src/3rdParty/lua/lcorolib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdParty/lua/lcorolib.c b/src/3rdParty/lua/lcorolib.c
index fedbebe..785a1e8 100644
--- a/src/3rdParty/lua/lcorolib.c
+++ b/src/3rdParty/lua/lcorolib.c
@@ -78,7 +78,7 @@ static int luaB_auxwrap (lua_State *L) {
78 if (stat != LUA_OK && stat != LUA_YIELD) { /* error in the coroutine? */ 78 if (stat != LUA_OK && stat != LUA_YIELD) { /* error in the coroutine? */
79 stat = lua_resetthread(co); /* close its tbc variables */ 79 stat = lua_resetthread(co); /* close its tbc variables */
80 lua_assert(stat != LUA_OK); 80 lua_assert(stat != LUA_OK);
81 lua_xmove(co, L, 1); /* copy error message */ 81 lua_xmove(co, L, 1); /* move error message to the caller */
82 } 82 }
83 if (stat != LUA_ERRMEM && /* not a memory error and ... */ 83 if (stat != LUA_ERRMEM && /* not a memory error and ... */
84 lua_type(L, -1) == LUA_TSTRING) { /* ... error object is a string? */ 84 lua_type(L, -1) == LUA_TSTRING) { /* ... error object is a string? */
@@ -179,7 +179,7 @@ static int luaB_close (lua_State *L) {
179 } 179 }
180 else { 180 else {
181 lua_pushboolean(L, 0); 181 lua_pushboolean(L, 0);
182 lua_xmove(co, L, 1); /* copy error message */ 182 lua_xmove(co, L, 1); /* move error message */
183 return 2; 183 return 2;
184 } 184 }
185 } 185 }