* decl.c (grokdeclarator): Use C syntax for attr_flags declaration.
From-SVN: r45723
This commit is contained in:
parent
4816067b8d
commit
c9574c9f42
@ -1,3 +1,7 @@
|
||||
Fri Sep 21 08:16:19 2001 J"orn Rennecke <amylaar@redhat.com>
|
||||
|
||||
* decl.c (grokdeclarator): Use C syntax for attr_flags declaration.
|
||||
|
||||
2001-09-21 Joseph S. Myers <jsm28@cam.ac.uk>
|
||||
|
||||
Table-driven attributes.
|
||||
|
@ -10362,12 +10362,14 @@ grokdeclarator (declarator, declspecs, decl_context, initialized, attrlist)
|
||||
a TREE_LIST. */
|
||||
tree attrs = TREE_PURPOSE (declarator);
|
||||
tree inner_decl;
|
||||
int attr_flags;
|
||||
|
||||
declarator = TREE_VALUE (declarator);
|
||||
inner_decl = declarator;
|
||||
while (inner_decl != NULL_TREE
|
||||
&& TREE_CODE (inner_decl) == TREE_LIST)
|
||||
inner_decl = TREE_VALUE (inner_decl);
|
||||
int attr_flags = 0;
|
||||
attr_flags = 0;
|
||||
if (inner_decl == NULL_TREE
|
||||
|| TREE_CODE (inner_decl) == IDENTIFIER_NODE)
|
||||
attr_flags |= (int) ATTR_FLAG_DECL_NEXT;
|
||||
|
Loading…
Reference in New Issue
Block a user