diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-31 11:41:59 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-31 11:41:59 -0300 |
commit | 223bb04090344b1972dc2a7910a54b46210f0d40 (patch) | |
tree | 4346fc4bfb9b32a6502a61f97f01f225ee4f7830 /llex.c | |
parent | fe040633a1d64af4c19acc4707adb47413a3cd4a (diff) | |
download | lua-223bb04090344b1972dc2a7910a54b46210f0d40.tar.gz lua-223bb04090344b1972dc2a7910a54b46210f0d40.tar.bz2 lua-223bb04090344b1972dc2a7910a54b46210f0d40.zip |
Correction in the documentation of 'io.lines'
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.)
Diffstat (limited to 'llex.c')
0 files changed, 0 insertions, 0 deletions