diff options
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 1.219 2003/05/14 21:02:39 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 1.220 2003/07/16 20:49:02 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 | */ |
@@ -87,7 +87,7 @@ void luaD_throw (lua_State *L, int errcode) { | |||
87 | L_THROW(L->errorJmp); | 87 | L_THROW(L->errorJmp); |
88 | } | 88 | } |
89 | else { | 89 | else { |
90 | G(L)->panic(L); | 90 | if (G(L)->panic) G(L)->panic(L); |
91 | exit(EXIT_FAILURE); | 91 | exit(EXIT_FAILURE); |
92 | } | 92 | } |
93 | } | 93 | } |