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) --- llimits.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'llimits.h') diff --git a/llimits.h b/llimits.h index 4b35dfcb..4e641008 100644 --- a/llimits.h +++ b/llimits.h @@ -1,5 +1,5 @@ /* -** $Id: llimits.h,v 1.143 2017/06/01 19:16:34 roberto Exp roberto $ +** $Id: llimits.h,v 1.144 2017/06/27 11:35:01 roberto Exp roberto $ ** Limits, basic types, and some other 'installation-dependent' definitions ** See Copyright Notice in lua.h */ @@ -140,10 +140,11 @@ typedef LUAI_UACINT l_uacInt; /* ** maximum depth for nested C calls and syntactical nested non-terminals -** in a program. (Value must fit in an unsigned short int.) +** in a program. (Value must fit in an unsigned short int. It must also +** be compatible with the size of the C stack.) */ #if !defined(LUAI_MAXCCALLS) -#define LUAI_MAXCCALLS 200 +#define LUAI_MAXCCALLS 1000 #endif -- cgit v1.2.3-55-g6feb