From: Kazu Hirata Date: Mon, 29 May 2006 05:33:28 +0000 (+0000) Subject: pt.c (convert_nontype_argument): Fix a typo in an error message. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=944fd207f5578bba0bbf1a922d22a2db6ece5473;p=gcc.git 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 --- 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; }