diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2006-05-29 05:33:28 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2006-05-29 05:33:28 +0000 |
commit | 944fd207f5578bba0bbf1a922d22a2db6ece5473 (patch) | |
tree | f18f407af33a1f877610e70bcf8a46e9f393bdba /gcc | |
parent | eb6d74fa8279e1039ef80066f179528864d6db53 (diff) | |
download | gcc-944fd207f5578bba0bbf1a922d22a2db6ece5473.zip gcc-944fd207f5578bba0bbf1a922d22a2db6ece5473.tar.gz gcc-944fd207f5578bba0bbf1a922d22a2db6ece5473.tar.bz2 |
pt.c (convert_nontype_argument): Fix a typo in an error message.
* pt.c (convert_nontype_argument): Fix a typo in an error
message.
From-SVN: r114185
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/pt.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ebbca93..03db715 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 4b8232e..8066e08 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; } |