summaryrefslogtreecommitdiffstats
path: root/gcc/c-parse.in
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-parse.in')
-rw-r--r--gcc/c-parse.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c-parse.in b/gcc/c-parse.in
index f9874418827..29708d6e37f 100644
--- a/gcc/c-parse.in
+++ b/gcc/c-parse.in
@@ -1,5 +1,5 @@
/* YACC parser for C syntax and for Objective C. -*-c-*-
- Copyright (C) 1987, 1988, 1989, 1992, 1993 Free Software Foundation, Inc.
+ Copyright (C) 1987, 88, 89, 92, 93, 1994 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -1052,8 +1052,8 @@ notype_initdcl:
maybe_attribute:
/* empty */
{ $$ = NULL_TREE; }
- | ATTRIBUTE '(' '(' attribute_list ')' ')'
- { $$ = $4; }
+ | maybe_attribute ATTRIBUTE '(' '(' attribute_list ')' ')'
+ { $$ = chainon ($5, $1); }
;
attribute_list
OpenPOWER on IntegriCloud