diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-06-30 15:22:48 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-06-30 15:22:48 +0000 |
commit | a08295badb386cf0e543b33ba8836d6fd3904a0f (patch) | |
tree | 12485aa9290ef63e8f70d478d84e5e1f4ccb325f /gcc/objcp | |
parent | 2445ffafed26ad389ac84a6bdfd2583a84cfb7e7 (diff) | |
download | gcc-a08295badb386cf0e543b33ba8836d6fd3904a0f.tar.gz |
* objcp-decl.c (objcp_start_struct): Pass null attributes argument
to begin_class_definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115091 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objcp')
-rw-r--r-- | gcc/objcp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/objcp/objcp-decl.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/objcp/ChangeLog b/gcc/objcp/ChangeLog index 3340ac764dd..e499a232d05 100644 --- a/gcc/objcp/ChangeLog +++ b/gcc/objcp/ChangeLog @@ -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 diff --git a/gcc/objcp/objcp-decl.c b/gcc/objcp/objcp-decl.c index c7882077b45..f0d14e50d03 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 |