aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lauxlib.c')
-rw-r--r--lauxlib.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lauxlib.c b/lauxlib.c
index 01bcf9a1..f4e21d60 100644
--- a/lauxlib.c
+++ b/lauxlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lauxlib.c,v 1.78 2002/07/01 19:23:58 roberto Exp $ 2** $Id: lauxlib.c,v 1.79 2002/08/05 17:36:24 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*/
@@ -404,9 +404,7 @@ static void callalert (lua_State *L, int status) {
404 404
405static int aux_do (lua_State *L, int status) { 405static int aux_do (lua_State *L, int status) {
406 if (status == 0) { /* parse OK? */ 406 if (status == 0) { /* parse OK? */
407 status = lua_pcall(L, 0, LUA_MULTRET); /* call main */ 407 status = lua_pcall(L, 0, LUA_MULTRET, 0); /* call main */
408 if (status != 0)
409 lua_pcallreset(L);
410 } 408 }
411 callalert(L, status); 409 callalert(L, status);
412 return status; 410 return status;