This commit is contained in:
Roberto Ierusalimschy
2005-03-16 17:02:48 -03:00
parent 04bbd01171
commit 4494094031
2 changed files with 4 additions and 3 deletions

3
ldo.c
View File

@@ -1,5 +1,5 @@
/*
** $Id: ldo.c,v 2.16 2005/03/08 20:10:05 roberto Exp roberto $
** $Id: ldo.c,v 2.17 2005/03/09 16:28:07 roberto Exp roberto $
** Stack and Call structure of Lua
** See Copyright Notice in lua.h
*/
@@ -74,6 +74,7 @@ void luaD_throw (lua_State *L, int errcode) {
LUAI_THROW(L, L->errorJmp);
}
else {
L->status = errcode;
if (G(L)->panic) G(L)->panic(L);
exit(EXIT_FAILURE);
}