From 9a381dd472d82a91c568c7ea97e41411a47f74e1 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Thu, 11 May 1995 19:26:45 -0400 Subject: [PATCH] (grokdeclarator): Use PARM_FLAG to see if should make PARM_DECL. From-SVN: r9627 --- gcc/c-decl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 0b286b82899..8d90e5e71c6 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -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. -- 2.30.2