* decl.c (check_default_argument): Fix typo.

From-SVN: r28808
This commit is contained in:
Paul Burchard 1999-08-23 22:19:01 +00:00 committed by Jason Merrill
parent c5c60e15bc
commit 8614a1d6a0
2 changed files with 5 additions and 1 deletions

View 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.

View 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;