aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPaul Burchard <burchard@pobox.com>1999-08-23 22:19:01 +0000
committerJason Merrill <jason@gcc.gnu.org>1999-08-23 18:19:01 -0400
commit8614a1d6a0cb6dfc591ebc1740bbba89b7779ac9 (patch)
treeeeee89b2227e6eb1bc289ffcd97181bcd4a8df90 /gcc
parentc5c60e15bccccf2462a8b6593035399585ebd386 (diff)
downloadgcc-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/ChangeLog4
-rw-r--r--gcc/cp/decl.c2
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;