diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-28 02:17:46 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-28 02:17:46 +0000 |
commit | faa3e550e1408bd3cc085c3e1f0841af0d62fac7 (patch) | |
tree | 3a7f88e0ee141da1f69927ab6ebd1b419f703734 | |
parent | 0f5198f46a8dfeccef44d0a3bcebd35d46fc5dfa (diff) | |
download | gcc-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
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/parser.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <pinskia@physics.uc.edu> + + * parser.c (cp_parser_diagnose_invalid_type_name): Move the q after + the %. + 2004-10-26 Mark Mitchell <mark@codesourcery.com> * 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 (); } |