mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-13 15:20:53 +01:00
spelling: occurred
This commit is contained in:
parent
91d62c4c71
commit
f87fc7a293
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ static int costatus(lua_State* L, lua_State* co)
|
||||||
return CO_SUS;
|
return CO_SUS;
|
||||||
if (co->status == LUA_BREAK)
|
if (co->status == LUA_BREAK)
|
||||||
return CO_NOR;
|
return CO_NOR;
|
||||||
if (co->status != 0) /* some error occured */
|
if (co->status != 0) /* some error occurred */
|
||||||
return CO_DEAD;
|
return CO_DEAD;
|
||||||
if (co->ci != co->base_ci) /* does it have frames? */
|
if (co->ci != co->base_ci) /* does it have frames? */
|
||||||
return CO_NOR;
|
return CO_NOR;
|
||||||
|
|
|
@ -532,7 +532,7 @@ int luaD_pcall(lua_State* L, Pfunc func, void* u, ptrdiff_t old_top, ptrdiff_t e
|
||||||
status = LUA_ERRERR;
|
status = LUA_ERRERR;
|
||||||
}
|
}
|
||||||
|
|
||||||
// an error occured, check if we have a protected error callback
|
// an error occurred, check if we have a protected error callback
|
||||||
if (L->global->cb.debugprotectederror)
|
if (L->global->cb.debugprotectederror)
|
||||||
{
|
{
|
||||||
L->global->cb.debugprotectederror(L);
|
L->global->cb.debugprotectederror(L);
|
||||||
|
|
Loading…
Add table
Reference in a new issue