From 6d0ae11c576106b490a53215c3f227b65ace2776 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 23 Mar 2009 11:26:12 -0300 Subject: 'context' added to suspendable calls --- lbaselib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lbaselib.c') diff --git a/lbaselib.c b/lbaselib.c index f82ac840..fcd6d4a9 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.212 2009/03/13 15:50:03 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.213 2009/03/16 16:30:50 roberto Exp roberto $ ** Basic library ** See Copyright Notice in lua.h */ @@ -358,7 +358,7 @@ static int luaB_dofile (lua_State *L) { const char *fname = luaL_optstring(L, 1, NULL); lua_settop(L, 1); if (luaL_loadfile(L, fname) != LUA_OK) lua_error(L); - lua_callcont(L, 0, LUA_MULTRET, dofilecont); + lua_callk(L, 0, LUA_MULTRET, 0, dofilecont); return dofilecont(L); } -- cgit v1.2.3-55-g6feb