aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2004-10-28 02:17:46 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-10-27 19:17:46 -0700
commit2fbe4889520e148f66889173192c9fd14b43e0fd (patch)
tree3a7f88e0ee141da1f69927ab6ebd1b419f703734 /gcc
parent5536e07dadf62185e8c033583c8d73cc244c9d13 (diff)
downloadgcc-2fbe4889520e148f66889173192c9fd14b43e0fd.zip
gcc-2fbe4889520e148f66889173192c9fd14b43e0fd.tar.gz
gcc-2fbe4889520e148f66889173192c9fd14b43e0fd.tar.bz2
parser.c (cp_parser_diagnose_invalid_type_name): Move the q after the %.
2004-10-27 Andrew Pinski <pinskia@physics.uc.edu> * parser.c (cp_parser_diagnose_invalid_type_name): Move the q after the %. From-SVN: r89727
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/parser.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 5531604..84a3e48 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 b6e5432..4cfcf73 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 ();
}