From e2ea3b31c94bb3e1da27c233661cb2a16699c685 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 7 Dec 2020 11:17:30 -0300 Subject: Details (do not affect regular code) * Avoids multiple definitions of 'lua_assert' in test file. * Smaller C-stack limit in test mode. * Note in the manual about the use of false * Extra test for constant reuse. --- ltests.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ltests.h') diff --git a/ltests.h b/ltests.h index f8c4466f..cb3a0b48 100644 --- a/ltests.h +++ b/ltests.h @@ -130,6 +130,11 @@ LUA_API void *debug_realloc (void *ud, void *block, #define LUAI_MAXSTACK 50000 +/* test mode uses more stack space */ +#undef LUAI_MAXCCALLS +#define LUAI_MAXCCALLS 180 + + /* force Lua to use its own implementations */ #undef lua_strx2number #undef lua_number2strx -- cgit v1.2.3-55-g6feb