diff options
author | jvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-06 15:39:02 +0000 |
---|---|---|
committer | jvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-06 15:39:02 +0000 |
commit | 47764936269471b23d91268f38f8480a7be1e8e9 (patch) | |
tree | 319b59c950386c59987bc4fe5db8710254011328 | |
parent | 5d29a4d1e2c4d143b20da13b682bb894968cf420 (diff) | |
download | gcc-47764936269471b23d91268f38f8480a7be1e8e9.tar.gz |
2007-04-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/31395
* io/format.c (parse_format_list): Fix parsing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123620 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libgfortran/ChangeLog | 5 | ||||
-rw-r--r-- | libgfortran/io/format.c | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 87ad838829e..bb57e97d8ec 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2007-04-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libgfortran/31395 + * io/format.c (parse_format_list): Fix parsing. + 2007-04-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR fortran/31304 diff --git a/libgfortran/io/format.c b/libgfortran/io/format.c index aa6c68bbf25..36ab89b63aa 100644 --- a/libgfortran/io/format.c +++ b/libgfortran/io/format.c @@ -858,12 +858,9 @@ parse_format_list (st_parameter_dt *dtp) goto finished; case FMT_SLASH: - get_fnode (fmt, &head, &tail, FMT_SLASH); - tail->repeat = 1; - - /* Fall Through */ - case FMT_COLON: + get_fnode (fmt, &head, &tail, t); + tail->repeat = 1; goto optional_comma; case FMT_END: |