]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* typeck.c (lookup_destructor): Fix typo in error message.
authorMark Mitchell <mark@codesourcery.com>
Wed, 11 Feb 2004 01:47:06 +0000 (01:47 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 11 Feb 2004 01:47:06 +0000 (01:47 +0000)
From-SVN: r77630

gcc/cp/ChangeLog
gcc/cp/typeck.c

index 48bbd25a305d3f33141b75e03c1b1836ea8bedf9..97b1d7cd467cba639141318ac6c824776ec5ca1f 100644 (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.
index 4082a1b23b085e27f6eab12d23df21c77b510574..02858486b466013a0fcd6c637a47f9a6f7528eec 100644 (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;
     }