diff options
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; |