summaryrefslogtreecommitdiff
path: root/gcc/cp/parser.c
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-28 02:17:46 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-28 02:17:46 +0000
commitfaa3e550e1408bd3cc085c3e1f0841af0d62fac7 (patch)
tree3a7f88e0ee141da1f69927ab6ebd1b419f703734 /gcc/cp/parser.c
parent0f5198f46a8dfeccef44d0a3bcebd35d46fc5dfa (diff)
downloadgcc-faa3e550e1408bd3cc085c3e1f0841af0d62fac7.tar.gz
2004-10-27 Andrew Pinski <pinskia@physics.uc.edu>
* parser.c (cp_parser_diagnose_invalid_type_name): Move the q after the %. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89727 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r--gcc/cp/parser.c2
1 files changed, 1 insertions, 1 deletions
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 ();
}