aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@cs.tamu.edu>2009-11-26 20:00:43 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2009-11-26 20:00:43 +0000
commit612e541cfcfd7742aee757ca7b39d4695c2bd591 (patch)
tree3106e2237bef677ec0ac90a77d6c7695f882b6d1 /gcc
parentba2335f224bd177397440d450117df3100ec579a (diff)
downloadgcc-612e541cfcfd7742aee757ca7b39d4695c2bd591.zip
gcc-612e541cfcfd7742aee757ca7b39d4695c2bd591.tar.gz
gcc-612e541cfcfd7742aee757ca7b39d4695c2bd591.tar.bz2
* decl.c (grokdeclarator): Remove period at end of diagnosic message.
From-SVN: r154684
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/decl.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 5fd5f26..4f0d5b8 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index db289b5..95ec8d2 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -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))