From 196c87c9cecfacf978f37de4ec69eba0a5971256 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 23 Nov 2017 14:41:16 -0200 Subject: no more 'stackless' implementation; 'luaV_execute' calls itself recursively to execute function calls. 'unroll' continues all executions suspended by an yield (through a long jump) --- ltests.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ltests.h') diff --git a/ltests.h b/ltests.h index e3d1ca1e..04aa91b3 100644 --- a/ltests.h +++ b/ltests.h @@ -1,5 +1,5 @@ /* -** $Id: ltests.h,v 2.51 2017/06/27 11:35:31 roberto Exp roberto $ +** $Id: ltests.h,v 2.52 2017/11/13 12:19:35 roberto Exp roberto $ ** Internal Header for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -34,6 +34,10 @@ #define lua_assert(c) assert(c) +/* compiled with -O0, Lua uses a lot of C stack space... */ +#undef LUAI_MAXCCALLS +#define LUAI_MAXCCALLS 300 + /* to avoid warnings, and to make sure value is really unused */ #define UNUSED(x) (x=0, (void)(x)) -- cgit v1.2.3-55-g6feb