summaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
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 }