From f5d1e8639bf5df24c761602354218df21f796a30 Mon Sep 17 00:00:00 2001 From: Roberto I Date: Fri, 16 Jan 2026 16:38:44 -0300 Subject: New compile option LUA_COMPAT_LOOPVAR When on, this option makes for-loop control variables not read only. --- luaconf.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'luaconf.h') diff --git a/luaconf.h b/luaconf.h index 96a77802..f076c984 100644 --- a/luaconf.h +++ b/luaconf.h @@ -342,6 +342,13 @@ #define LUA_COMPAT_GLOBAL +/* +@@ LUA_COMPAT_LOOPVAR makes for-loop control variables not read-only, +** as they were in previous versions. +*/ +/* #define LUA_COMPAT_LOOPVAR */ + + /* @@ LUA_COMPAT_MATHLIB controls the presence of several deprecated ** functions in the mathematical library. -- cgit v1.2.3-55-g6feb