diff options
| -rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/cp/decl.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 84a3e48..a6aa65e 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 9d9f70b..aeb3347 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); |
