re PR fortran/27138 (gfortran: read(*,*) myInt advances only one character on error)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Mon, 17 Apr 2006 02:33:51 +0000 (02:33 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Mon, 17 Apr 2006 02:33:51 +0000 (02:33 +0000)
commit9855448d2240ff1e81395ea45fb7820aacc58038
tree0fe585a7085a7f9c87845982bda7cc878bcd0894
parentb12cbf2cc559fa466b854d89bc4069d7282a881f
re PR fortran/27138 (gfortran: read(*,*) myInt advances only one character on error)

2006-04-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/27138
* io/list_read.c (eat_line): New function.
(parse_repeat): Use new function and free_saved.
(read_logical): Same.
(read_integer): Use new function.
(parse_real): Use nml_bad_return and new function.
(read_complex): Use new function and free_saved.
(read_real): Same.

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