mirror of
https://github.com/lua/lua.git
synced 2026-06-08 16:13:48 +00:00
7f6f70853c8a2730fca2e95d5968ad52cf470bda
The variable to be closed in a generic 'for' loop now is the 4th value produced in the loop initialization, instead of being the loop state (the 2nd value produced). That allows a loop to use a state with a '__toclose' metamethod but do not close it. (As an example, 'f:lines()' might use the file 'f' as a state for the loop, but it should not close the file when the loop ends.)
Description
No description provided
Languages
C
66.4%
Lua
33%
Makefile
0.6%