OSDN Git Service

* pt.c (convert_nontype_argument): Fix a typo in an error
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 May 2006 05:33:28 +0000 (05:33 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 May 2006 05:33:28 +0000 (05:33 +0000)
message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114185 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/pt.c

index ebbca93..03db715 100644 (file)
@@ -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
index 4b8232e..8066e08 100644 (file)
@@ -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;
        }