]> gcc.gnu.org Git - gcc.git/commitdiff
* decl.c (grokdeclarator): Use C syntax for attr_flags declaration.
authorJ"orn Rennecke <amylaar@redhat.com>
Fri, 21 Sep 2001 07:17:49 +0000 (07:17 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Fri, 21 Sep 2001 07:17:49 +0000 (08:17 +0100)
From-SVN: r45723

gcc/cp/ChangeLog
gcc/cp/decl.c

index 345cef4b008790823733945d2553bfa684e9219c..f5e7d63fa269c5787f38d3b17098920c8b90001a 100644 (file)
@@ -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.
index 60938a702ba35f772acc1d6333d41809925cdec4..0402d77edd43151c3faa1f59795b3f70a5b365d7 100644 (file)
@@ -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;
This page took 0.087776 seconds and 5 git commands to generate.