From ba7da13ec5938f978c37d63aa40a3e340b301f79 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 27 Dec 2018 14:32:29 -0200 Subject: Changes in the control of C-stack overflow * unification of the 'nny' and 'nCcalls' counters; * external C functions ('lua_CFunction') count more "slots" in the C stack (to allow for their possible use of buffers) * added a new test script specific for C-stack overflows. (Most of those tests were already present, but concentrating them in a single script easies the task of checking whether 'LUAI_MAXCCALLS' is adequate in a system.) --- testes/all.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'testes/all.lua') diff --git a/testes/all.lua b/testes/all.lua index 26d24976..84ba80a6 100644 --- a/testes/all.lua +++ b/testes/all.lua @@ -172,6 +172,7 @@ if not _G._soft then assert(f() == 'b') assert(f() == 'a') end +dofile('cstack.lua') dofile('nextvar.lua') dofile('pm.lua') dofile('utf8.lua') -- cgit v1.2.3-55-g6feb