aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto I <roberto@inf.puc-rio.br>2026-01-16 16:38:44 -0300
committerRoberto I <roberto@inf.puc-rio.br>2026-01-16 16:38:44 -0300
commitf5d1e8639bf5df24c761602354218df21f796a30 (patch)
treebe98de76942a21046e735d2f84cd2748bf377356 /luaconf.h
parent2a7cf4f319fc276f4554a8f6364e6b1ba4eb2ded (diff)
downloadlua-f5d1e8639bf5df24c761602354218df21f796a30.tar.gz
lua-f5d1e8639bf5df24c761602354218df21f796a30.tar.bz2
lua-f5d1e8639bf5df24c761602354218df21f796a30.zip
New compile option LUA_COMPAT_LOOPVAR
When on, this option makes for-loop control variables not read only.
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/luaconf.h b/luaconf.h
index 96a77802..f076c984 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -343,6 +343,13 @@
343 343
344 344
345/* 345/*
346@@ LUA_COMPAT_LOOPVAR makes for-loop control variables not read-only,
347** as they were in previous versions.
348*/
349/* #define LUA_COMPAT_LOOPVAR */
350
351
352/*
346@@ LUA_COMPAT_MATHLIB controls the presence of several deprecated 353@@ LUA_COMPAT_MATHLIB controls the presence of several deprecated
347** functions in the mathematical library. 354** functions in the mathematical library.
348** (These functions were already officially removed in 5.3; 355** (These functions were already officially removed in 5.3;