Commit 9a381dd4 by Richard Kenner

(grokdeclarator): Use PARM_FLAG to see if should make PARM_DECL.

From-SVN: r9627
parent 868fc750
......@@ -4104,7 +4104,7 @@ grokdeclarator (declarator, declspecs, decl_context, initialized)
even if it occurs where parms are expected.
Then store_parm_decls will reject it and not use it as a parm. */
if (decl_context == NORMAL && !funcdef_flag
&& current_binding_level->level_chain == global_binding_level)
&& current_binding_level->parm_flag)
decl_context = PARM;
/* Look through the decl specs and record which ones appear.
......
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