diff options
author | Gabriel Dos Reis <gdr@cs.tamu.edu> | 2009-11-26 20:00:43 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2009-11-26 20:00:43 +0000 |
commit | 612e541cfcfd7742aee757ca7b39d4695c2bd591 (patch) | |
tree | 3106e2237bef677ec0ac90a77d6c7695f882b6d1 /gcc | |
parent | ba2335f224bd177397440d450117df3100ec579a (diff) | |
download | gcc-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/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/decl.c | 2 |
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)) |