diff options
-rw-r--r-- | libgfortran/ChangeLog | 5 | ||||
-rw-r--r-- | libgfortran/io/list_read.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 69a2059..6e3a729 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2008-07-01 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/36676 + * io/list_read.c (find_nml_name): Use eat_separator instead of eat_line. + 2008-06-28 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/36657 diff --git a/libgfortran/io/list_read.c b/libgfortran/io/list_read.c index 82c288f..ba8de97 100644 --- a/libgfortran/io/list_read.c +++ b/libgfortran/io/list_read.c @@ -2922,8 +2922,8 @@ find_nml_name: goto find_nml_name; } - if (c == '!') - eat_line (dtp); + unget_char (dtp, c); + eat_separator (dtp); /* Ready to read namelist objects. If there is an error in input from stdin, output the error message and continue. */ |