]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* decl.c (grokdeclarator): Remove period at end of diagnosic message.
authorGabriel Dos Reis <gdr@cs.tamu.edu>
Thu, 26 Nov 2009 20:00:43 +0000 (20:00 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Thu, 26 Nov 2009 20:00:43 +0000 (20:00 +0000)
From-SVN: r154684

gcc/cp/ChangeLog
gcc/cp/decl.c

index 5fd5f26d99a585b1db82fa645968c8e40f171f2d..4f0d5b82689089a935b18449b03cd1eca8e6e9c7 100644 (file)
@@ -1,3 +1,7 @@
+2009-11-26  Gabriel Dos Reis  <gdr@cs.tamu.edu>
+
+       * decl.c (grokdeclarator): Remove period at end of diagnosic message.
+
 2009-11-25  Jason Merrill  <jason@redhat.com>
 
        PR c++/10690
index db289b50197aada9a96b6df916d66597b1d8d3b5..95ec8d22296f30382a86c066dff59df5a65aa22d 100644 (file)
@@ -8799,7 +8799,7 @@ grokdeclarator (const cp_declarator *declarator,
              membership class as `constexpr'.  */
           if (constexpr_p)
             error ("a constexpr function cannot be defined "
-                   "outside of its class.");
+                   "outside of its class");
 
          if (TREE_CODE (sname) == IDENTIFIER_NODE
              && NEW_DELETE_OPNAME_P (sname))