summaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-16 17:02:48 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-16 17:02:48 -0300
commit4494094031d3785b4527a9baf572cb1e272aa9d2 (patch)
treea65b7c1c86c55cc898f1316e82c4015f32cd3646 /ldo.c
parent04bbd0117174911a489ca7d2603c1e8717565405 (diff)
downloadlua-4494094031d3785b4527a9baf572cb1e272aa9d2.tar.gz
lua-4494094031d3785b4527a9baf572cb1e272aa9d2.tar.bz2
lua-4494094031d3785b4527a9baf572cb1e272aa9d2.zip
detail
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 14cbaacf..9b604a65 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.c,v 2.16 2005/03/08 20:10:05 roberto Exp roberto $ 2** $Id: ldo.c,v 2.17 2005/03/09 16:28:07 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*/
@@ -74,6 +74,7 @@ void luaD_throw (lua_State *L, int errcode) {
74 LUAI_THROW(L, L->errorJmp); 74 LUAI_THROW(L, L->errorJmp);
75 } 75 }
76 else { 76 else {
77 L->status = errcode;
77 if (G(L)->panic) G(L)->panic(L); 78 if (G(L)->panic) G(L)->panic(L);
78 exit(EXIT_FAILURE); 79 exit(EXIT_FAILURE);
79 } 80 }