re PR fortran/35627 (namelist read error)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Thu, 20 Mar 2008 02:05:05 +0000 (02:05 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Thu, 20 Mar 2008 02:05:05 +0000 (02:05 +0000)
commit17f46ec355995413b4eefb3e37863c558619c113
tree84808a336f7a3932720ebda87346a26c3b1cfe51
parent31e6722c276d4bfc6d40c138ca2576716ef93ec8
re PR fortran/35627 (namelist read error)

2008-03-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/35627
* io/list_read.c (free_line): Clear the line buffer enable flag and
reset the index into line_buffer, aka item_count.
(next_char): Cleanup whitespace.
(read_logical): Use unget_char to assure that the first character of the
bad logical is saved in case it is part of an object name. Remove the
clearing of index and flag that is now in free_line.
(read_real): Likewise.

From-SVN: r133360
libgfortran/ChangeLog
libgfortran/io/list_read.c