diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2009-10-13 01:43:39 +0000 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2009-10-13 01:43:39 +0000 |
commit | 0a81006d27f20b07770c0e04bd9bad31f30131d7 (patch) | |
tree | 5c6541c5a94c89af9f847a5f2e394c13a81ef099 /libgfortran | |
parent | b19dd527771efd308d963f4b0a0e6bdb11ec8310 (diff) | |
download | gcc-0a81006d27f20b07770c0e04bd9bad31f30131d7.zip gcc-0a81006d27f20b07770c0e04bd9bad31f30131d7.tar.gz gcc-0a81006d27f20b07770c0e04bd9bad31f30131d7.tar.bz2 |
re PR libfortran/41683 (F2003 Repeat specification after P descriptor rejected)
2009-10-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/41683
* io/format.c (parse_format_list): Allow a repeat specifier immediately
after a P specifier.
From-SVN: r152695
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 6 | ||||
-rw-r--r-- | libgfortran/io/format.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index b7c75e0..bf51dbc 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,9 @@ +2009-10-12 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libgfortran/41683 + * io/format.c (parse_format_list): Allow a repeat specifier immediately + after a P specifier. + 2009-10-11 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/38439 diff --git a/libgfortran/io/format.c b/libgfortran/io/format.c index 97bd2da..0ee60ea 100644 --- a/libgfortran/io/format.c +++ b/libgfortran/io/format.c @@ -706,7 +706,8 @@ parse_format_list (st_parameter_dt *dtp, bool *save_ok) goto data_desc; } - if (t != FMT_COMMA && t != FMT_RPAREN && t != FMT_SLASH) + if (t != FMT_COMMA && t != FMT_RPAREN && t != FMT_SLASH + && t != FMT_POSINT) { fmt->error = "Comma required after P descriptor"; goto finished; |