Roberto Ierusalimschy 7f6f70853c To-be-closed variable in 'for' loop separated from the state
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.)
2018-11-07 14:42:05 -02:00
all
2018-07-09 12:33:01 -03:00
2018-06-08 13:23:18 -03:00
2018-11-07 10:03:05 -02:00
2018-10-25 15:30:15 -03:00
2018-10-25 15:30:15 -03:00
2018-11-01 13:21:00 -03:00
2018-11-01 13:21:00 -03:00
2018-11-01 13:21:00 -03:00
2018-09-11 08:39:12 -03:00
2018-10-23 12:58:38 -03:00
2018-11-01 13:21:00 -03:00
2018-11-01 13:21:00 -03:00
2018-11-01 13:21:00 -03:00
2018-11-07 10:03:05 -02:00
2018-11-07 10:03:05 -02:00
2018-07-12 15:56:44 -03:00
2018-06-18 15:25:19 -03:00
Description
A copy of the Lua development repository, as seen by the Lua team. Mirrored irregularly. Please DO NOT send pull requests or any other stuff. All communication should be through the Lua mailing list https://www.lua.org/lua-l.html
17 MiB
Languages
C 67%
Lua 32.4%
Makefile 0.6%