diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2008-07-02 03:58:57 +0000 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2008-07-02 03:58:57 +0000 |
commit | f151ea67246bfe3686a5383c53dc57efd145283c (patch) | |
tree | c4a7f17af999e2081ff6098903eedbf45510fd69 /libgfortran/io/list_read.c | |
parent | 1efc9f4327d86357b2e1871dbd17a13492ff8161 (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@137334 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/io/list_read.c')
-rw-r--r-- | libgfortran/io/list_read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/io/list_read.c b/libgfortran/io/list_read.c index 82c288f6c6e..ba8de9750e1 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. */ |