diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-10-14 15:53:35 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-10-14 15:53:35 -0200 |
| commit | b6ebbb2fee13aa223fdd12921cd0411e02db9dd0 (patch) | |
| tree | 03320716aa1cb444e50981dbfea93a89f2cea5cb /ldo.c | |
| parent | c5fee7615e979e3a39af44614f82938519dedb68 (diff) | |
| download | lua-b6ebbb2fee13aa223fdd12921cd0411e02db9dd0.tar.gz lua-b6ebbb2fee13aa223fdd12921cd0411e02db9dd0.tar.bz2 lua-b6ebbb2fee13aa223fdd12921cd0411e02db9dd0.zip | |
better assertions.
Diffstat (limited to 'ldo.c')
| -rw-r--r-- | ldo.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldo.c,v 1.47 1999/09/06 15:24:46 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 1.48 1999/10/04 17:51:04 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 | */ |
| @@ -236,6 +236,7 @@ void lua_error (const char *s) { | |||
| 236 | if (L->errorJmp) | 236 | if (L->errorJmp) |
| 237 | longjmp(L->errorJmp->b, 1); | 237 | longjmp(L->errorJmp->b, 1); |
| 238 | else { | 238 | else { |
| 239 | LUA_INTERNALERROR("exit!!"); | ||
| 239 | message("exit(1). Unable to recover.\n"); | 240 | message("exit(1). Unable to recover.\n"); |
| 240 | exit(1); | 241 | exit(1); |
| 241 | } | 242 | } |
