diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index b2ed0066484..a00706b40d1 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2012-03-02 Tobias Burnus + + PR fortran/52325 + * primary.c (gfc_match_varspec): Add missing ;. + 2012-03-02 Tobias Burnus PR fortran/52325 diff --git a/gcc/fortran/primary.c b/gcc/fortran/primary.c index ae3a1f5778e..41e2fa81efb 100644 --- a/gcc/fortran/primary.c +++ b/gcc/fortran/primary.c @@ -1919,7 +1919,7 @@ gfc_match_varspec (gfc_expr *primary, int equiv_flag, bool sub_flag, && gfc_match_char ('%') == MATCH_YES) { gfc_error ("Unexpected '%%' for nonderived-type variable '%s' at %C", - sym->name) + sym->name); return MATCH_ERROR; }