diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-05-11 19:26:45 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-05-11 19:26:45 -0400 |
commit | 9a381dd472d82a91c568c7ea97e41411a47f74e1 (patch) | |
tree | e5176c380d048021fa5d8b82ed53155df626742e /gcc | |
parent | 868fc7506b9b9824de70612823e7dff108001506 (diff) | |
download | gcc-9a381dd472d82a91c568c7ea97e41411a47f74e1.zip gcc-9a381dd472d82a91c568c7ea97e41411a47f74e1.tar.gz gcc-9a381dd472d82a91c568c7ea97e41411a47f74e1.tar.bz2 |
(grokdeclarator): Use PARM_FLAG to see if should make PARM_DECL.
From-SVN: r9627
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/c-decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 0b286b8..8d90e5e7 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. |