diff options
| author | Roberto I <roberto@inf.puc-rio.br> | 2026-01-16 16:38:44 -0300 |
|---|---|---|
| committer | Roberto I <roberto@inf.puc-rio.br> | 2026-01-16 16:38:44 -0300 |
| commit | f5d1e8639bf5df24c761602354218df21f796a30 (patch) | |
| tree | be98de76942a21046e735d2f84cd2748bf377356 /luaconf.h | |
| parent | 2a7cf4f319fc276f4554a8f6364e6b1ba4eb2ded (diff) | |
| download | lua-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.h | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -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; |
