diff options
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r-- | gcc/cp/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 0a6419310fa..2d17cded7fa 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -13058,7 +13058,7 @@ cp_parser_class_head (cp_parser* parser, if (type != error_mark_node && COMPLETE_TYPE_P (type)) { error ("redefinition of %q#T", type); - cp_error_at ("previous definition of %q#T", type); + error ("previous definition of %q+#T", type); type = NULL_TREE; goto done; } |