PR fortran/41154
* io.c (check_format): Fix to not error on right paren after P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151070
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
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;
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;