mirror of https://github.com/lua/lua.git
Browse Source
The loop does not end on end of file, but when the iterator function fails to read a value. (In particular, the format "a" never fails, so a loop with 'io.lines(fname, "a")' never ends.)pull/23/head
Roberto Ierusalimschy
5 years ago
2 changed files with 5 additions and 7 deletions
Loading…
Reference in new issue