Commit 3d2dbfbb by Mark Mitchell Committed by Mark Mitchell

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

From-SVN: r77630
parent b87ab499
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment