[patch, fortran] PR34325 Wrong error message for syntax error
FX
fxcoudert@gmail.com
Mon May 5 07:46:00 GMT 2008
> 2008-05-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
>
> PR fortran/34325
> * decl.c (match_attr_spec): Check for matching pairs of parenthesis.
> * expr.c (gfc_specification_expr): Supplement the error message
> with the
> type that was found.
> * resolve.c (gfc_resolve_index): Likewise.
> * match.c (gfc_match_parens): Clarify error message with "at or
> before".
> (gfc_match_do): Check for matching pairs of parenthesis.
OK to commit. I think that generally these syntax-error and
diagnostic patches are rather hard to review in depth, as there are
really tons of ways they could do things we can't even imagine on
other invalid-code cases, so I tend to only review them for style,
wording and obvious mistakes; I hope it's OK.
FX
--
François-Xavier Coudert
http://www.homepages.ucl.ac.uk/~uccafco/
More information about the Fortran
mailing list