summaryrefslogtreecommitdiff
path: root/gcc/c-parse.in
diff options
context:
space:
mode:
authorkcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-02 00:07:50 +0000
committerkcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-02 00:07:50 +0000
commit18f110a67c710e56b0364b20362afa6d4a83a229 (patch)
treebf55ce4fc81d664fb6f366792795485791f3ccf7 /gcc/c-parse.in
parent04074c50daed0fc0aed4011330a71ed17ac991e3 (diff)
downloadgcc-18f110a67c710e56b0364b20362afa6d4a83a229.tar.gz
/tmp/cvs001644
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72005 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-parse.in')
-rw-r--r--gcc/c-parse.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/c-parse.in b/gcc/c-parse.in
index 2d3eef84a86..0ae20c1b1f4 100644
--- a/gcc/c-parse.in
+++ b/gcc/c-parse.in
@@ -2561,13 +2561,16 @@ parmlist_2: /* empty */
tries to verify that BUILT_IN_NEXT_ARG is being used
correctly. */
error ("ISO C requires a named argument before `...'");
+ parsing_iso_function_signature = true;
}
| parms
{ $$ = get_parm_info (1);
parsing_iso_function_signature = true;
}
| parms ',' ELLIPSIS
- { $$ = get_parm_info (0); }
+ { $$ = get_parm_info (0);
+ parsing_iso_function_signature = true;
+ }
;
parms: