This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Anonymous struct/union in C
- To: Mumit Khan <khan at xraylith dot wisc dot EDU>
- Subject: Re: Anonymous struct/union in C
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 15 Oct 1999 02:29:05 -0600
- cc: egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <199906160235.VAA20595@mercury.xraylith.wisc.edu>you write:
> Sat Jun 12 15:56:40 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
> Mumit Khan <khan@xraylith.wisc.edu>
>
> * c-parse.in (component_decl): Support anonymous struct/union.
> (%expect): Update.
> * c-parse.y: Regenerate.
> * c-parse.c: Likewise.
> * objc/objc-parse.y: Likewise.
> * objc/objc-parse.c: Likewise.
> * c-decl.c (finish_struct): Don't sort the fields.
Thanks. The %expect things needed tweaking. And field_decl_cmp needed to be
removed (it was only used by the code to sort fields).
I've made those two changes, updated the generated files and installed the
change.
Thanks for your patience.
jeff