re PR libfortran/56786 (Namelist read fails with designators containing embedded...
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 31 Mar 2013 20:32:33 +0000 (20:32 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 31 Mar 2013 20:32:33 +0000 (20:32 +0000)
commit83437e6709a57a4a8552e4a6a4b5b94b1ff34d82
tree56a39940bf7f8affecaa141ef6044be7c6197dbd
parentce1731f46d009ca4092596c9bd7a19c65ca51a33
re PR libfortran/56786 (Namelist read fails with designators containing embedded spaces)

2013-03-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/56786
* io/list_read.c (nml_parse_qualifier): Remove spurious next_char call
when checking for EOF. Use error return mechanism when EOF detected.
Do not return false unless parse_err_msg and parse_err_msg_size have
been set. Use hit_eof.
(nml_get_obj_data): Likewise use the correct error mechanism.
* io/transfer.c (hit_eof): Do not set AFTER_ENDFILE if in namelist
mode.

From-SVN: r197290
libgfortran/ChangeLog
libgfortran/io/list_read.c
libgfortran/io/transfer.c