re PR fortran/41154 (Comma required after P descriptor)
2009-08-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/41154 * io.c (check_format): Fix to not error on right paren after P. From-SVN: r151070
This commit is contained in:
parent
033e7d21e5
commit
72acf7207b
@ -1,3 +1,8 @@
|
||||
2009-08-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR fortran/41154
|
||||
* io.c (check_format): Fix to not error on right paren after P.
|
||||
|
||||
2009-08-24 Aldy Hernandez <aldyh@redhat.com>
|
||||
|
||||
PR fortran/40660
|
||||
|
@ -694,7 +694,7 @@ data_desc:
|
||||
goto fail;
|
||||
if (gfc_option.allow_std < GFC_STD_F2003 && t != FMT_COMMA
|
||||
&& t != FMT_F && t != FMT_E && t != FMT_EN && t != FMT_ES
|
||||
&& t != FMT_D && t != FMT_G)
|
||||
&& t != FMT_D && t != FMT_G && t != FMT_RPAREN)
|
||||
{
|
||||
error = _("Comma required after P descriptor");
|
||||
goto syntax;
|
||||
@ -708,7 +708,7 @@ data_desc:
|
||||
goto fail;
|
||||
}
|
||||
if (t != FMT_F && t != FMT_E && t != FMT_EN && t != FMT_ES && t != FMT_D
|
||||
&& t != FMT_G)
|
||||
&& t != FMT_G && t != FMT_RPAREN)
|
||||
{
|
||||
error = _("Comma required after P descriptor");
|
||||
goto syntax;
|
||||
|
Loading…
Reference in New Issue
Block a user