diff options
author | domob <domob@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-21 15:24:55 +0000 |
---|---|---|
committer | domob <domob@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-21 15:24:55 +0000 |
commit | 87d7dd765811e2649d39f4a5e4222bb0742b5793 (patch) | |
tree | 539d84544339f2e3b878e56e057d4f6194a01f9b /gcc/fortran/decl.c | |
parent | 09c20c1190f8e174f373a249a49cf23c66e0215d (diff) | |
download | gcc-87d7dd765811e2649d39f4a5e4222bb0742b5793.tar.gz |
2008-09-21 Daniel Kraft <d@domob.eu>
* decl.c (match_procedure_in_type): Changed misleading error message
for not yet implemented PROCEDURE(interface) syntax.
2008-09-21 Daniel Kraft <d@domob.eu>
* gfortran.dg/typebound_proc_4.f03: Changed expected error for not
yet implemented PROCEDURE(interface).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140528 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/decl.c')
-rw-r--r-- | gcc/fortran/decl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c index 7e4cabf21ad..0fc2a95073e 100644 --- a/gcc/fortran/decl.c +++ b/gcc/fortran/decl.c @@ -6907,8 +6907,7 @@ match_procedure_in_type (void) /* TODO: Really implement PROCEDURE(interface). */ if (gfc_match (" (") == MATCH_YES) { - gfc_error ("Procedure with interface only allowed in abstract types at" - " %C"); + gfc_error ("PROCEDURE(interface) at %C is not yet implemented"); return MATCH_ERROR; } |