]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
objcp-decl.c (objcp_start_struct): Pass null attributes argument to begin_class_defin...
authorJason Merrill <jason@redhat.com>
Fri, 30 Jun 2006 15:22:48 +0000 (11:22 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 30 Jun 2006 15:22:48 +0000 (11:22 -0400)
        * objcp-decl.c (objcp_start_struct): Pass null attributes argument
        to begin_class_definition.

From-SVN: r115091

gcc/objcp/ChangeLog
gcc/objcp/objcp-decl.c

index 3340ac764dd7a4d67237b5b501d15443d5651368..e499a232d0573f98f591928ab4836a74e708aace 100644 (file)
@@ -1,3 +1,8 @@
+2006-06-30  Jason Merrill  <jason@redhat.com>
+
+       * objcp-decl.c (objcp_start_struct): Pass null attributes argument
+       to begin_class_definition.
+
 2006-05-14  H.J. Lu  <hongjiu.lu@intel.com>
 
        * Make-lang.in (objcp/objcp-decl.o): Add dependency on
index c7882077b451f0dfaeeeefba9886a169d9162e29..f0d14e50d03e76dc927bcaa7fe1f31a9f930a5ba 100644 (file)
@@ -59,7 +59,7 @@ objcp_start_struct (enum tree_code code ATTRIBUTE_UNUSED, tree name)
   CLASSTYPE_DECLARED_CLASS (s) = 0;  /* this is a 'struct', not a 'class'.  */
   xref_basetypes (s, NULL_TREE);     /* no base classes here!  */
 
-  return begin_class_definition (s);
+  return begin_class_definition (s, NULL_TREE);
 }
 
 tree