From aa4183d8a5177cd45be6c0514be1b1b6efe7e890 Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Tue, 7 Nov 2006 10:11:08 +0100 Subject: decl.c (match_attr_spec, [...]): Unify gfc_notify_std message for GFC_STD_F2003. fortran/ 2006-11-06 Tobias Burnus * decl.c (match_attr_spec, gfc_match_enum): Unify gfc_notify_std message for GFC_STD_F2003. * array.c (gfc_match_array_constructor): Unify gfc_notify_std message for GFC_STD_F2003. * io.c (check_io_constraints): Unify gfc_notify_std message for GFC_STD_F2003. * resolve.c (resolve_actual_arglist): Unify gfc_notify_std message for GFC_STD_F2003. testsuite/ 2006-11-06 Tobias Burnus * gfortran.dg/io_constraints_2.f90: Adjust pattern for matching error messages. * gfortran.dg/specifics_3.f90: Adjust pattern for matching error messages. From-SVN: r118542 --- gcc/fortran/decl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/fortran/decl.c') diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c index 84797b7..e326b94 100644 --- a/gcc/fortran/decl.c +++ b/gcc/fortran/decl.c @@ -2191,8 +2191,8 @@ match_attr_spec (void) if (d == DECL_ALLOCATABLE) { if (gfc_notify_std (GFC_STD_F2003, - "In the selected standard, the ALLOCATABLE " - "attribute at %C is not allowed in a TYPE " + "Fortran 2003: ALLOCATABLE " + "attribute at %C in a TYPE " "definition") == FAILURE) { m = MATCH_ERROR; @@ -4143,7 +4143,7 @@ gfc_match_enum (void) return m; if (gfc_notify_std (GFC_STD_F2003, - "New in Fortran 2003: ENUM AND ENUMERATOR at %C") + "Fortran 2003: ENUM AND ENUMERATOR at %C") == FAILURE) return MATCH_ERROR; -- cgit v1.1