aboutsummaryrefslogtreecommitdiff
path: root/manual/manual.of
diff options
context:
space:
mode:
Diffstat (limited to 'manual/manual.of')
-rw-r--r--manual/manual.of6
1 files changed, 6 insertions, 0 deletions
diff --git a/manual/manual.of b/manual/manual.of
index 5fa4e097..09075346 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -9594,12 +9594,18 @@ change between versions.
9594@item{ 9594@item{
9595The word @Rw{global} is a reserved word. 9595The word @Rw{global} is a reserved word.
9596Do not use it as a regular name. 9596Do not use it as a regular name.
9597
9598The compilation option @id{LUA_COMPAT_GLOBAL} (see @id{luaconf.h})
9599makes @id{global} a regular word.
9597} 9600}
9598 9601
9599@item{ 9602@item{
9600The control variable in @Rw{for} loops is read only. 9603The control variable in @Rw{for} loops is read only.
9601If you need to change it, 9604If you need to change it,
9602declare a local variable with the same name in the loop body. 9605declare a local variable with the same name in the loop body.
9606
9607The compilation option @id{LUA_COMPAT_LOOPVAR} (see @id{luaconf.h})
9608makes these variables regular (writable).
9603} 9609}
9604 9610
9605@item{ 9611@item{