aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lauxlib.c')
-rw-r--r--lauxlib.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lauxlib.c b/lauxlib.c
index 1a3bf1a8..e9f738b5 100644
--- a/lauxlib.c
+++ b/lauxlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lauxlib.c,v 1.172 2007/08/10 12:56:02 roberto Exp roberto $ 2** $Id: lauxlib.c,v 1.173 2007/09/05 17:17:39 roberto Exp roberto $
3** Auxiliary functions for building Lua libraries 3** Auxiliary functions for building Lua libraries
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -661,8 +661,7 @@ static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) {
661static int panic (lua_State *L) { 661static int panic (lua_State *L) {
662 fprintf(stderr, "PANIC: unprotected error in call to Lua API (%s)\n", 662 fprintf(stderr, "PANIC: unprotected error in call to Lua API (%s)\n",
663 lua_tostring(L, -1)); 663 lua_tostring(L, -1));
664 exit(EXIT_FAILURE); /* do not return to Lua */ 664 return (exit(EXIT_FAILURE), 0); /* do not return to Lua */
665 return 0;
666} 665}
667 666
668 667