diff options
author | Paul Burchard <burchard@pobox.com> | 1999-08-23 22:19:01 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1999-08-23 18:19:01 -0400 |
commit | 8614a1d6a0cb6dfc591ebc1740bbba89b7779ac9 (patch) | |
tree | eeee89b2227e6eb1bc289ffcd97181bcd4a8df90 /gcc | |
parent | c5c60e15bccccf2462a8b6593035399585ebd386 (diff) | |
download | gcc-8614a1d6a0cb6dfc591ebc1740bbba89b7779ac9.zip gcc-8614a1d6a0cb6dfc591ebc1740bbba89b7779ac9.tar.gz gcc-8614a1d6a0cb6dfc591ebc1740bbba89b7779ac9.tar.bz2 |
* decl.c (check_default_argument): Fix typo.
From-SVN: r28808
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/decl.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 450cd63..3f27900 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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. diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 1b1ad98..dee8d27 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -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; |