From 2fbe4889520e148f66889173192c9fd14b43e0fd Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Thu, 28 Oct 2004 02:17:46 +0000 Subject: [PATCH] parser.c (cp_parser_diagnose_invalid_type_name): Move the q after the %. 2004-10-27 Andrew Pinski * parser.c (cp_parser_diagnose_invalid_type_name): Move the q after the %. From-SVN: r89727 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/parser.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 55316040e9e..84a3e4847f7 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2004-10-27 Andrew Pinski + + * parser.c (cp_parser_diagnose_invalid_type_name): Move the q after + the %. + 2004-10-26 Mark Mitchell * name-lookup.c (do_namespace_alias): Use FROB_CONTEXT. diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index b6e5432c8b0..4cfcf73a659 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -2008,7 +2008,7 @@ cp_parser_diagnose_invalid_type_name (cp_parser *parser, tree scope, tree id) error ("%qE in namespace %qE does not name a type", id, parser->scope); else if (TYPE_P (parser->scope)) - error ("q%E in class %qT does not name a type", id, parser->scope); + error ("%qE in class %qT does not name a type", id, parser->scope); else gcc_unreachable (); } -- 2.30.2