From 0f59e3d7a70ea8c15792450496974d95dbae8d5b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 12 Sep 2000 10:47:39 -0300 Subject: details --- ldo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ldo.c') diff --git a/ldo.c b/ldo.c index 220be2f9..9d981468 100644 --- a/ldo.c +++ b/ldo.c @@ -1,5 +1,5 @@ /* -** $Id: ldo.c,v 1.94 2000/09/11 17:38:42 roberto Exp roberto $ +** $Id: ldo.c,v 1.95 2000/09/11 20:29:27 roberto Exp roberto $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ @@ -218,7 +218,7 @@ void luaD_breakrun (lua_State *L, int errcode) { else { if (errcode != LUA_ERRMEM) message(L, "unable to recover; exiting\n"); - exit(1); + exit(EXIT_FAILURE); } } @@ -271,7 +271,7 @@ static int protectedparser (lua_State *L, ZIO *z, int bin) { old_blocks = L->nblocks; chain_longjmp(L, &myErrorJmp); if (setjmp(myErrorJmp.b) == 0) { - Proto *tf = bin ? luaU_undump1(L, z) : luaY_parser(L, z); + Proto *tf = bin ? luaU_undump(L, z) : luaY_parser(L, z); luaV_Lclosure(L, tf, 0); } else { /* an error occurred: correct error code */ -- cgit v1.2.3-55-g6feb