* typeck.c (lookup_destructor): Fix typo in error message.
From-SVN: r77630
This commit is contained in:
parent
b87ab499fd
commit
3d2dbfbb30
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user