aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 2eac776..083b925 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 f23fd48..5c7d508 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