* decl.c (check_default_argument): Fix typo.
authorPaul Burchard <burchard@pobox.com>
Mon, 23 Aug 1999 22:19:01 +0000 (22:19 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 23 Aug 1999 22:19:01 +0000 (18:19 -0400)
From-SVN: r28808

gcc/cp/ChangeLog
gcc/cp/decl.c

index 450cd63d69b2676b9e6a038e2a95c3c0f4271b9c..3f279000acaa9f4a33a61e0a55fb8182c86a96ed 100644 (file)
@@ -1,3 +1,7 @@
+1999-08-23  Paul Burchard <burchard@pobox.com>
+
+       * decl.c (check_default_argument): Fix typo.
+
 1999-08-22  Mark Mitchell  <mark@codesourcery.com>
 
        * cp-tree.def (STMT_EXPR): Fix typo in node name.
index 1b1ad983b452a44dd351ef96b08094a49f66e529..dee8d276b3bb1542a231f6ec74eab3eb762fc501 100644 (file)
@@ -11335,7 +11335,7 @@ check_default_argument (decl, arg)
        cp_error ("default argument for `%#D' has type `%T'", 
                  decl, TREE_TYPE (arg));
       else
-       cp_error ("default argument for paramter of type `%T' has type `%T'",
+       cp_error ("default argument for parameter of type `%T' has type `%T'",
                  decl_type, TREE_TYPE (arg));
 
       return error_mark_node;