Commit 591382c4 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

decl.c (xref_basetypes): Don't use C99 construct in tag_code declaration and initialization.

	* decl.c (xref_basetypes): Don't use C99 construct in tag_code
	declaration and initialization.

From-SVN: r47570
parent 98a63868
2001-12-03 Hans-Peter Nilsson <hp@bitrange.com>
* decl.c (xref_basetypes): Don't use C99 construct in tag_code
declaration and initialization.
2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
* typeck2.c: Remove leading capital from diagnostic messages, as
......
......@@ -12849,6 +12849,7 @@ xref_basetypes (code_type_node, name, ref, binfo)
tree base;
int i, len;
enum tag_types tag_code;
/* If we are called from the parser, code_type_node will sometimes be a
TREE_LIST. This indicates that the user wrote
......@@ -12857,7 +12858,7 @@ xref_basetypes (code_type_node, name, ref, binfo)
if (TREE_CODE (code_type_node) == TREE_LIST)
code_type_node = TREE_VALUE (code_type_node);
enum tag_types tag_code = (enum tag_types) tree_low_cst (code_type_node, 1);
tag_code = (enum tag_types) tree_low_cst (code_type_node, 1);
if (tag_code == union_type)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment