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
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
No description provided
13 MiB
Languages
C 66.7%
Lua 32.6%
Makefile 0.6%
Shell 0.1%