projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e6f189
)
(structsp): Correct error in last change.
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 31 Mar 1995 12:26:06 +0000
(07:26 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 31 Mar 1995 12:26:06 +0000
(07:26 -0500)
From-SVN: r9270
gcc/c-parse.in
patch
|
blob
|
history
diff --git
a/gcc/c-parse.in
b/gcc/c-parse.in
index a2a23da9b10f5d791c81ffc2726e1b2e638c5c23..0f8cda161e468565fb969a0edf89fd525704c69e 100644
(file)
--- a/
gcc/c-parse.in
+++ b/
gcc/c-parse.in
@@
-1325,11
+1325,13
@@
structsp:
{ $$ = start_struct (UNION_TYPE, $2); }
component_decl_list '}' maybe_attribute
{ $$ = finish_struct ($<ttype>4, $5);
- decl_attributes ($$, $
5
, NULL_TREE);
+ decl_attributes ($$, $
7
, NULL_TREE);
}
- | UNION '{' component_decl_list '}'
+ | UNION '{' component_decl_list '}'
maybe_attribute
{ $$ = finish_struct (start_struct (UNION_TYPE, NULL_TREE),
- $3); }
+ $3);
+ decl_attributes ($$, $5, NULL_TREE);
+ }
| UNION identifier
{ $$ = xref_tag (UNION_TYPE, $2); }
| ENUM identifier '{'