OSDN Git Service

* decl.c (check_default_argument): Fix typo.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Aug 1999 22:19:01 +0000 (22:19 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Aug 1999 22:19:01 +0000 (22:19 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28808 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 450cd63..3f27900 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 1b1ad98..dee8d27 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;