diff options
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/typeck.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 48bbd25..97b1d7c 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2004-02-10 Mark Mitchell <mark@codesourcery.com> + + * typeck.c (lookup_destructor): Fix typo in error message. + 2004-02-09 Kazu Hirata <kazu@cs.umass.edu> * call.c, parser.c, tree.c: Fix comment typos. diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c index 4082a1b..0285848 100644 --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -1801,7 +1801,7 @@ lookup_destructor (tree object, tree scope, tree dtor_name) } if (!same_type_p (dtor_type, TYPE_MAIN_VARIANT (object_type))) { - error ("the type being destroyed is '%T', but the destructor refers to `%T'", + error ("the type being destroyed is `%T', but the destructor refers to `%T'", TYPE_MAIN_VARIANT (object_type), dtor_type); return error_mark_node; } |