aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>2005-08-18 10:56:07 +0000
committerVolker Reichelt <reichelt@gcc.gnu.org>2005-08-18 10:56:07 +0000
commitb06df647c8c81c869cefdd86055e8fac83f0b0f8 (patch)
treee7c8b3a8884e0f7db3231062e78d7d75a72149d1 /gcc
parent75634129185af1ffcc0d88f5032b90b26559674a (diff)
downloadgcc-b06df647c8c81c869cefdd86055e8fac83f0b0f8.zip
gcc-b06df647c8c81c869cefdd86055e8fac83f0b0f8.tar.gz
gcc-b06df647c8c81c869cefdd86055e8fac83f0b0f8.tar.bz2
* c-typeck.c (designator_errorneous): Rename to designator_erroneous.
From-SVN: r103247
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/c-typeck.c18
2 files changed, 13 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c338e8e..3355130 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-08-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ * c-typeck.c (designator_errorneous): Rename to designator_erroneous.
+
2005-08-18 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/16045
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index 9ddab77..c72ba8a 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -4642,7 +4642,7 @@ static int constructor_designated;
static int designator_depth;
/* Nonzero if there were diagnosed errors in this designator list. */
-static int designator_errorneous;
+static int designator_erroneous;
/* This stack has a level for each implicit or explicit level of
@@ -4856,7 +4856,7 @@ really_start_incremental_init (tree type)
constructor_incremental = 1;
constructor_designated = 0;
designator_depth = 0;
- designator_errorneous = 0;
+ designator_erroneous = 0;
if (TREE_CODE (constructor_type) == RECORD_TYPE
|| TREE_CODE (constructor_type) == UNION_TYPE)
@@ -5000,7 +5000,7 @@ push_init_level (int implicit)
p->range_stack = constructor_range_stack;
constructor_range_stack = 0;
designator_depth = 0;
- designator_errorneous = 0;
+ designator_erroneous = 0;
}
/* Don't die if an entire brace-pair level is superfluous
@@ -5294,7 +5294,7 @@ set_designator (int array)
/* If there were errors in this designator list already, bail out
silently. */
- if (designator_errorneous)
+ if (designator_erroneous)
return 1;
if (!designator_depth)
@@ -5373,7 +5373,7 @@ set_init_index (tree first, tree last)
if (set_designator (1))
return;
- designator_errorneous = 1;
+ designator_erroneous = 1;
if (!INTEGRAL_TYPE_P (TREE_TYPE (first))
|| (last && !INTEGRAL_TYPE_P (TREE_TYPE (last))))
@@ -5419,7 +5419,7 @@ set_init_index (tree first, tree last)
}
designator_depth++;
- designator_errorneous = 0;
+ designator_erroneous = 0;
if (constructor_range_stack || last)
push_range_stack (last);
}
@@ -5435,7 +5435,7 @@ set_init_label (tree fieldname)
if (set_designator (0))
return;
- designator_errorneous = 1;
+ designator_erroneous = 1;
if (TREE_CODE (constructor_type) != RECORD_TYPE
&& TREE_CODE (constructor_type) != UNION_TYPE)
@@ -5457,7 +5457,7 @@ set_init_label (tree fieldname)
{
constructor_fields = tail;
designator_depth++;
- designator_errorneous = 0;
+ designator_erroneous = 0;
if (constructor_range_stack)
push_range_stack (NULL_TREE);
}
@@ -6177,7 +6177,7 @@ process_init_element (struct c_expr value)
bool strict_string = value.original_code == STRING_CST;
designator_depth = 0;
- designator_errorneous = 0;
+ designator_erroneous = 0;
/* Handle superfluous braces around string cst as in
char x[] = {"foo"}; */