aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-12-22 01:10:59 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-12-22 01:10:59 +0000
commit48c9a7f0dbf902685d3a289c32e42812e868b939 (patch)
treefdfd1c3340553e2eeddd8cc2d432bfc83ab73fb9 /gcc
parent4c256e34821a7ce1d2c27f2d838c6f9ca8cc0feb (diff)
downloadgcc-48c9a7f0dbf902685d3a289c32e42812e868b939.zip
gcc-48c9a7f0dbf902685d3a289c32e42812e868b939.tar.gz
gcc-48c9a7f0dbf902685d3a289c32e42812e868b939.tar.bz2
* decl.c: Fix a coment typo.
From-SVN: r120136
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 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