diff options
-rw-r--r-- | lauxlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.c,v 1.182 2009/02/18 17:20:56 roberto Exp roberto $ | 2 | ** $Id: lauxlib.c,v 1.184 2009/02/27 18:18:19 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 | */ |
@@ -727,7 +727,7 @@ static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) { | |||
727 | static int panic (lua_State *L) { | 727 | static int panic (lua_State *L) { |
728 | fprintf(stderr, "PANIC: unprotected error in call to Lua API (%s)\n", | 728 | fprintf(stderr, "PANIC: unprotected error in call to Lua API (%s)\n", |
729 | lua_tostring(L, -1)); | 729 | lua_tostring(L, -1)); |
730 | return (exit(EXIT_FAILURE), 0); /* do not return to Lua */ | 730 | return 0; /* return to Lua to abort */ |
731 | } | 731 | } |
732 | 732 | ||
733 | 733 | ||