diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ebbca93be9b48bc0959c493da7c8c87f740512f9..03db7156955f44be14c3ed04f7b66a64cd13b062 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2006-05-29 Kazu Hirata <kazu@codesourcery.com> + + * pt.c (convert_nontype_argument): Fix a typo in an error + message. + 2006-05-28 Kazu Hirata <kazu@codesourcery.com> * decl.c, decl2.c, parser.c: Fix comment typos. Follow diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 4b8232e9a9b61b4bcae21dccad27173f2b550515..8066e08eff53aa9e62b6783ed373a51980524ccf 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -3620,7 +3620,7 @@ convert_nontype_argument (tree type, tree expr) if (!real_lvalue_p (expr)) { error ("%qE is not a valid template argument for type %qT " - "because it is not a lvalue", expr, type); + "because it is not an lvalue", expr, type); return NULL_TREE; }