Commit 8614a1d6 by Paul Burchard Committed by Jason Merrill

* decl.c (check_default_argument): Fix typo.

From-SVN: r28808
parent c5c60e15
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.
......
......@@ -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;
......
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