diff options
| author | Tobias Burnus <burnus@net-b.de> | 2006-11-07 10:11:08 +0100 |
|---|---|---|
| committer | Tobias Burnus <burnus@gcc.gnu.org> | 2006-11-07 10:11:08 +0100 |
| commit | aa4183d8a5177cd45be6c0514be1b1b6efe7e890 (patch) | |
| tree | 1c82f6f58c7aefb56720a5f327ed2e062d9f672f /gcc/fortran/decl.c | |
| parent | 9519e677aa364957a00d6ac07be28efaac6de69f (diff) | |
| download | gcc-aa4183d8a5177cd45be6c0514be1b1b6efe7e890.zip gcc-aa4183d8a5177cd45be6c0514be1b1b6efe7e890.tar.gz gcc-aa4183d8a5177cd45be6c0514be1b1b6efe7e890.tar.bz2 | |
decl.c (match_attr_spec, [...]): Unify gfc_notify_std message for GFC_STD_F2003.
fortran/
2006-11-06 Tobias Burnus <burnus@net-b.de>
* 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 <burnus@net-b.de>
* 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
Diffstat (limited to 'gcc/fortran/decl.c')
| -rw-r--r-- | gcc/fortran/decl.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |
