* typeck.c (lookup_destructor): Fix typo in error message.

From-SVN: r77630
This commit is contained in:
Mark Mitchell 2004-02-11 01:47:06 +00:00 committed by Mark Mitchell
parent b87ab499fd
commit 3d2dbfbb30
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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;
}