From 1d737af9c8d8187694fad786700f23b5990aa184 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 30 Jun 2006 11:22:48 -0400 Subject: objcp-decl.c (objcp_start_struct): Pass null attributes argument to begin_class_definition. * objcp-decl.c (objcp_start_struct): Pass null attributes argument to begin_class_definition. From-SVN: r115091 --- gcc/objcp/ChangeLog | 5 +++++ gcc/objcp/objcp-decl.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/objcp/ChangeLog b/gcc/objcp/ChangeLog index 3340ac7..e499a23 100644 --- a/gcc/objcp/ChangeLog +++ b/gcc/objcp/ChangeLog @@ -1,3 +1,8 @@ +2006-06-30 Jason Merrill + + * objcp-decl.c (objcp_start_struct): Pass null attributes argument + to begin_class_definition. + 2006-05-14 H.J. Lu * Make-lang.in (objcp/objcp-decl.o): Add dependency on diff --git a/gcc/objcp/objcp-decl.c b/gcc/objcp/objcp-decl.c index c788207..f0d14e5 100644 --- a/gcc/objcp/objcp-decl.c +++ b/gcc/objcp/objcp-decl.c @@ -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 -- cgit v1.1