[Bug fortran/47667] I/O for reals: READ waits for input after "i" and "n"
jvdelisle at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 17 19:32:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47667
--- Comment #5 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-02-17 19:28:53 UTC ---
Manually pasted here, typo on PR number.
Author: jvdelisle
Date: Thu Feb 17 05:19:50 2011
New Revision: 170239
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170239
Log:
2011-02-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/47667
* io/list_read.c (read_logical): Check for end of line before calling
eat_line. (read_integer): Likewise. (parse_real): Don't unget the
separator. Check for end of line before calling eat_line.
(read_complex): Allow line-end before and after parenthesis and comma.
Check for end of line before calling eat_line. (read_real): Check for
end of line before calling eat_line.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/list_read.c
More information about the Gcc-bugs
mailing list