diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2007-04-06 15:39:02 +0000 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2007-04-06 15:39:02 +0000 |
commit | 5a97b4f907af6009cdbe1834c9576c374d3cf30d (patch) | |
tree | 319b59c950386c59987bc4fe5db8710254011328 /libgfortran | |
parent | b3726dabf388c6909be757c0438fcf0ff61d9a2f (diff) | |
download | gcc-5a97b4f907af6009cdbe1834c9576c374d3cf30d.zip gcc-5a97b4f907af6009cdbe1834c9576c374d3cf30d.tar.gz gcc-5a97b4f907af6009cdbe1834c9576c374d3cf30d.tar.bz2 |
re PR fortran/31395 ([4.2 Only] Colon edit descriptor is ignored unless preceded by a comma or a slash)
2007-04-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/31395
* io/format.c (parse_format_list): Fix parsing.
From-SVN: r123620
Diffstat (limited to 'libgfortran')
-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 87ad838..bb57e97 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 aa6c68b..36ab89b 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: |