From 8b7cfee26b71e66de2cef9f8db9d9e18f5439afd Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 26 Jun 2019 13:26:36 -0300 Subject: Small changes around C-stack limit - Better documentation in 'testes/cstack.lua' about using 'debug.setCstacklimit' to find a good limit. - Constant LUAI_MAXCSTACK gets added CSTACKERR (extra stack for error handling), so that it is compatible with the argument to 'debug.setCstacklimit'. --- luaconf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'luaconf.h') diff --git a/luaconf.h b/luaconf.h index 39840e39..72018855 100644 --- a/luaconf.h +++ b/luaconf.h @@ -47,7 +47,7 @@ ** (It will crash with a limit too high.) */ #if !defined(LUAI_MAXCSTACK) -#define LUAI_MAXCSTACK 2200 +#define LUAI_MAXCSTACK 2000 #endif -- cgit v1.2.3-55-g6feb