From 55d06e29aa7b6a410b00afa7071126270153fbc2 Mon Sep 17 00:00:00 2001 From: Gabriel Dos Reis Date: Fri, 11 Oct 2002 18:05:43 +0000 Subject: [PATCH] Leave diagnostics as is. From-SVN: r58055 --- gcc/cp/decl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 6f11bd9de1ad..5fb7849eda5a 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -10065,7 +10065,7 @@ grokdeclarator (declarator, declspecs, decl_context, initialized, attrlist) decl-specifier like in std::allocator alloc; Handle that gracefully. */ - error ("invalid use of template-name '%E' as type-specifier", + error ("invalid use of template-name '%E' in a declarator", decl); return error_mark_node; break; -- 2.47.2