diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2026-01-20 13:06:16 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2026-01-20 13:06:16 -0300 |
| commit | e992c6a95939c8e1fe357bfce481e0d0c762c3c6 (patch) | |
| tree | 5755e2d0ce6b8e7bbca0d7c1cebf6b51b0d7e607 /manual | |
| parent | f5d1e8639bf5df24c761602354218df21f796a30 (diff) | |
| download | lua-e992c6a95939c8e1fe357bfce481e0d0c762c3c6.tar.gz lua-e992c6a95939c8e1fe357bfce481e0d0c762c3c6.tar.bz2 lua-e992c6a95939c8e1fe357bfce481e0d0c762c3c6.zip | |
Some compilation options configurable from makefile
Compilation options LUA_COMPAT_GLOBAL, LUA_COMPAT_LOOPVAR, and
LUA_READLINELIB do not affect the API, so they can be changed
through the make file.
Diffstat (limited to 'manual')
| -rw-r--r-- | manual/manual.of | 6 |
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{ |
| 9595 | The word @Rw{global} is a reserved word. | 9595 | The word @Rw{global} is a reserved word. |
| 9596 | Do not use it as a regular name. | 9596 | Do not use it as a regular name. |
| 9597 | |||
| 9598 | The compilation option @id{LUA_COMPAT_GLOBAL} (see @id{luaconf.h}) | ||
| 9599 | makes @id{global} a regular word. | ||
| 9597 | } | 9600 | } |
| 9598 | 9601 | ||
| 9599 | @item{ | 9602 | @item{ |
| 9600 | The control variable in @Rw{for} loops is read only. | 9603 | The control variable in @Rw{for} loops is read only. |
| 9601 | If you need to change it, | 9604 | If you need to change it, |
| 9602 | declare a local variable with the same name in the loop body. | 9605 | declare a local variable with the same name in the loop body. |
| 9606 | |||
| 9607 | The compilation option @id{LUA_COMPAT_LOOPVAR} (see @id{luaconf.h}) | ||
| 9608 | makes these variables regular (writable). | ||
| 9603 | } | 9609 | } |
| 9604 | 9610 | ||
| 9605 | @item{ | 9611 | @item{ |
