diff options
author | jvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-13 01:43:39 +0000 |
---|---|---|
committer | jvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-13 01:43:39 +0000 |
commit | 7cd0c0bfe5bb27eb41c36436de13d0b031a4fa64 (patch) | |
tree | 5c6541c5a94c89af9f847a5f2e394c13a81ef099 /libgfortran/io/format.c | |
parent | 33a9301a1032ba56f1c4e70fc6cce1fd100ab809 (diff) | |
download | gcc-7cd0c0bfe5bb27eb41c36436de13d0b031a4fa64.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152695 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/io/format.c')
-rw-r--r-- | libgfortran/io/format.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libgfortran/io/format.c b/libgfortran/io/format.c index 97bd2da77ba..0ee60ea9012 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; |