From 944fd207f5578bba0bbf1a922d22a2db6ece5473 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 29 May 2006 05:33:28 +0000 Subject: [PATCH] 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 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/pt.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ebbca93be9b..03db7156955 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2006-05-29 Kazu Hirata + + * pt.c (convert_nontype_argument): Fix a typo in an error + message. + 2006-05-28 Kazu Hirata * decl.c, decl2.c, parser.c: Fix comment typos. Follow diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 4b8232e9a9b..8066e08eff5 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; }