Commit 56141a6a by Richard Earnshaw Committed by Richard Earnshaw

c-decl.c (get_parm_info): Use the correct tag keywords when warning about type…

c-decl.c (get_parm_info): Use the correct tag keywords when warning about type declarations in prototypes.

* c-decl.c (get_parm_info): Use the correct tag keywords when
warning about type declarations in prototypes.

From-SVN: r81287
parent 2682e19f
2004-04-29 Richard Earnshaw <rearnsha@arm.com>
* c-decl.c (get_parm_info): Use the correct tag keywords when
warning about type declarations in prototypes.
2004-04-29 Paul Brook <paul@codesourcery.com>
* config.gcc: Pull list of cores from arm-cores.def.
......
......@@ -4798,9 +4798,9 @@ get_parm_info (bool ellipsis)
}
break;
case ENUMERAL_TYPE: keyword = "struct"; goto tag;
case ENUMERAL_TYPE: keyword = "enum"; goto tag;
case UNION_TYPE: keyword = "union"; goto tag;
case RECORD_TYPE: keyword = "enum"; goto tag;
case RECORD_TYPE: keyword = "struct"; goto tag;
tag:
/* Types may not have tag-names, in which case the type
appears in the bindings list with b->id NULL. */
......
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