summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-22 01:10:59 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-22 01:10:59 +0000
commit9a5f9798e5769f536939f587ffac2a571a7b2997 (patch)
treefdfd1c3340553e2eeddd8cc2d432bfc83ab73fb9
parent72a7c713baebad1f6c6591ffaebb04042fc0128b (diff)
downloadgcc-9a5f9798e5769f536939f587ffac2a571a7b2997.tar.gz
* decl.c: Fix a coment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120136 138bc75d-0d04-0410-961f-82ee72b054a4
-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 2eac776e235..083b925201d 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2006-12-22 Kazu Hirata <kazu@codesourcery.com>
+
+ * decl.c: Fix a coment typo.
+
2006-12-18 Ian Lance Taylor <iant@google.com>
* decl.c (start_preparsed_function): Add support for
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index f23fd48fca3..5c7d508fc3e 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -4102,7 +4102,7 @@ grok_reference_init (tree decl, tree type, tree init, tree *cleanup)
static bool
check_array_designated_initializer (const constructor_elt *ce)
{
- /* Designated initializers for array elements arenot supported. */
+ /* Designated initializers for array elements are not supported. */
if (ce->index)
{
/* The parser only allows identifiers as designated