diff options
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 1.169 2002/04/10 12:10:54 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 1.170 2002/04/15 19:34:42 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -501,8 +501,7 @@ void luaD_breakrun (lua_State *L, int errcode) { | |||
501 | longjmp(L->errorJmp->b, 1); | 501 | longjmp(L->errorJmp->b, 1); |
502 | } | 502 | } |
503 | else { | 503 | else { |
504 | if (errcode != LUA_ERRMEM && errcode != LUA_ERRERR) | 504 | G(L)->panic(L); |
505 | message(L, "unable to recover; exiting\n"); | ||
506 | exit(EXIT_FAILURE); | 505 | exit(EXIT_FAILURE); |
507 | } | 506 | } |
508 | } | 507 | } |