aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-10-14 15:53:35 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-10-14 15:53:35 -0200
commitb6ebbb2fee13aa223fdd12921cd0411e02db9dd0 (patch)
tree03320716aa1cb444e50981dbfea93a89f2cea5cb /ldo.c
parentc5fee7615e979e3a39af44614f82938519dedb68 (diff)
downloadlua-b6ebbb2fee13aa223fdd12921cd0411e02db9dd0.tar.gz
lua-b6ebbb2fee13aa223fdd12921cd0411e02db9dd0.tar.bz2
lua-b6ebbb2fee13aa223fdd12921cd0411e02db9dd0.zip
better assertions.
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldo.c b/ldo.c
index e6125e36..788cfedb 100644
--- a/ldo.c
+++ b/ldo.c
@@ -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 }