aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorRoberto I <roberto@inf.puc-rio.br>2026-07-13 15:18:37 -0300
committerRoberto I <roberto@inf.puc-rio.br>2026-07-13 15:18:37 -0300
commit6ca33260d26f1b8fab982b13c89de1f445361328 (patch)
tree8c482c024f28adb451f18a65d851ab96361f78e5 /manual
parentb996f8fd1be7fb711cc6f754a31a1c87d2c2fd9b (diff)
downloadlua-6ca33260d26f1b8fab982b13c89de1f445361328.tar.gz
lua-6ca33260d26f1b8fab982b13c89de1f445361328.tar.bz2
lua-6ca33260d26f1b8fab982b13c89de1f445361328.zip
Removed compiler option LUA_COMPAT_LOOPVAR
It makes loop variables read-only, but it does not restore the old semantics, so it is not helpful for compatibility.
Diffstat (limited to 'manual')
-rw-r--r--manual/manual.of3
1 files changed, 0 insertions, 3 deletions
diff --git a/manual/manual.of b/manual/manual.of
index 5e113336..65261695 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -9623,9 +9623,6 @@ makes @id{global} a regular word.
9623The control variable in @Rw{for} loops is read only. 9623The control variable in @Rw{for} loops is read only.
9624If you need to change it, 9624If you need to change it,
9625declare a local variable with the same name in the loop body. 9625declare a local variable with the same name in the loop body.
9626
9627The compilation option @id{LUA_COMPAT_LOOPVAR} (see @id{luaconf.h})
9628makes these variables regular (writable).
9629} 9626}
9630 9627
9631@item{ 9628@item{