Commit 21611613 by Joseph Myers Committed by Joseph Myers

c-parse.in (parmlist_or_identifiers_1): Remove unreachable and redundant code.

	* c-parse.in (parmlist_or_identifiers_1): Remove unreachable and
	redundant code.

From-SVN: r86799
parent 7b112487
2004-08-30 Joseph S. Myers <jsm@polyomino.org.uk>
* c-parse.in (parmlist_or_identifiers_1): Remove unreachable and
redundant code.
2004-08-30 Joseph S. Myers <jsm@polyomino.org.uk>
* c-tree.h (struct language_function): Add arg_info element.
* c-decl.c (current_function_arg_info): New.
(grokdeclarator, store_parm_decls): Use it instead of
......
......@@ -2602,16 +2602,10 @@ parmlist_or_identifiers_1:
parmlist_1
| identifiers ')'
{ tree t;
for (t = $1; t; t = TREE_CHAIN (t))
if (TREE_VALUE (t) == NULL_TREE)
error ("`...' in old-style identifier list");
$$ = tree_cons (NULL_TREE, NULL_TREE, $1);
/* Make sure we have a parmlist after attributes. */
if ($<ttype>-1 != 0
&& (TREE_CODE ($$) != TREE_LIST
|| TREE_PURPOSE ($$) == 0
|| TREE_CODE (TREE_PURPOSE ($$)) != PARM_DECL))
if ($<ttype>-1 != 0)
YYERROR1;
}
;
......
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