diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-07-16 17:51:47 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-07-16 17:51:47 -0300 |
| commit | 522407e23ae02cdfcb221f1fea96c6c44aae0200 (patch) | |
| tree | a167d201bdd9d7604a4b3f37c2d19c8110c22795 /ldo.c | |
| parent | fa26d294aef136aa4ec48c23b4b87b853df0e3da (diff) | |
| download | lua-522407e23ae02cdfcb221f1fea96c6c44aae0200.tar.gz lua-522407e23ae02cdfcb221f1fea96c6c44aae0200.tar.bz2 lua-522407e23ae02cdfcb221f1fea96c6c44aae0200.zip | |
we do not need a default panic (that does nothing anyway...)
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 | } |
