From 93e347b51923a3f0b993aac37c74e1489c02f3b5 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 1 Apr 2025 10:41:25 -0300 Subject: Corrections of stack addresses back to strict mode It can be a little slower, but only for quite large stacks and moreover stack reallocation is not a common operation. With no strong contrary reason, it is better to follow the standard. --- ldo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldo.c') diff --git a/ldo.c b/ldo.c index 6824a21f..3e5c7504 100644 --- a/ldo.c +++ b/ldo.c @@ -199,7 +199,7 @@ l_noret luaD_errerr (lua_State *L) { ** The following macro chooses how strict is the code. */ #if !defined(LUAI_STRICT_ADDRESS) -#define LUAI_STRICT_ADDRESS 0 +#define LUAI_STRICT_ADDRESS 1 #endif #if LUAI_STRICT_ADDRESS -- cgit v1.2.3-55-g6feb