summaryrefslogtreecommitdiff
path: root/lauxlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2006-09-22 17:24:38 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2006-09-22 17:24:38 -0300
commit3c8865cf66db165e0266b642a1fdcff6c72a9e24 (patch)
tree431ae0414fec7fa87d92ed7f9c03dca49bc9929c /lauxlib.c
parent569a3269311f1554be345fefdeffe6f7b374a56f (diff)
downloadlua-3c8865cf66db165e0266b642a1fdcff6c72a9e24.tar.gz
lua-3c8865cf66db165e0266b642a1fdcff6c72a9e24.tar.bz2
lua-3c8865cf66db165e0266b642a1fdcff6c72a9e24.zip
detail
Diffstat (limited to 'lauxlib.c')
-rw-r--r--lauxlib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lauxlib.c b/lauxlib.c
index 11b73b5d..1ce05fda 100644
--- a/lauxlib.c
+++ b/lauxlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lauxlib.c,v 1.160 2006/06/22 16:12:59 roberto Exp roberto $ 2** $Id: lauxlib.c,v 1.161 2006/09/18 14:03:18 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*/
@@ -641,6 +641,7 @@ static int panic (lua_State *L) {
641 (void)L; /* to avoid warnings */ 641 (void)L; /* to avoid warnings */
642 fprintf(stderr, "PANIC: unprotected error in call to Lua API (%s)\n", 642 fprintf(stderr, "PANIC: unprotected error in call to Lua API (%s)\n",
643 lua_tostring(L, -1)); 643 lua_tostring(L, -1));
644 exit(EXIT_FAILURE); /* do not return to Lua */
644 return 0; 645 return 0;
645} 646}
646 647