mirror of
https://github.com/lua/lua.git
synced 2026-08-14 07:12:16 +00:00
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.)