diff options
| author | Roberto I <roberto@inf.puc-rio.br> | 2026-07-13 15:18:37 -0300 |
|---|---|---|
| committer | Roberto I <roberto@inf.puc-rio.br> | 2026-07-13 15:18:37 -0300 |
| commit | 6ca33260d26f1b8fab982b13c89de1f445361328 (patch) | |
| tree | 8c482c024f28adb451f18a65d851ab96361f78e5 /manual | |
| parent | b996f8fd1be7fb711cc6f754a31a1c87d2c2fd9b (diff) | |
| download | lua-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.of | 3 |
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. | |||
| 9623 | The control variable in @Rw{for} loops is read only. | 9623 | The control variable in @Rw{for} loops is read only. |
| 9624 | If you need to change it, | 9624 | If you need to change it, |
| 9625 | declare a local variable with the same name in the loop body. | 9625 | declare a local variable with the same name in the loop body. |
| 9626 | |||
| 9627 | The compilation option @id{LUA_COMPAT_LOOPVAR} (see @id{luaconf.h}) | ||
| 9628 | makes these variables regular (writable). | ||
| 9629 | } | 9626 | } |
| 9630 | 9627 | ||
| 9631 | @item{ | 9628 | @item{ |
