summaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-28 02:32:44 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-28 02:32:44 +0000
commit8b404e6e89dc1b4537d1eca5052ff6279da5c770 (patch)
tree5cbf0dfb4dfd18bcc1f0e0c8eb5196515b136f76 /gcc/cp
parentfaa3e550e1408bd3cc085c3e1f0841af0d62fac7 (diff)
downloadgcc-8b404e6e89dc1b4537d1eca5052ff6279da5c770.tar.gz
2004-10-27 Andrew Pinski <pinskia@physics.uc.edu>
* decl.c: Move the q after the %. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89728 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/decl.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 84a3e4847f7..a6aa65e3819 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,9 @@
2004-10-27 Andrew Pinski <pinskia@physics.uc.edu>
+ * decl.c: 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 %.
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 9d9f70b7b92..aeb3347bb46 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -5534,7 +5534,7 @@ bad_specifiers (tree object,
error ("%qD declared as an %<inline%> %s", object, type);
if (quals)
error ("%<const%> and %<volatile%> function specifiers on "
- "q%D invalid in %s declaration",
+ "%qD invalid in %s declaration",
object, type);
if (friendp)
cp_error_at ("%qD declared as a friend", object);