Anonymous struct/union in C

Jeffrey A Law law@cygnus.com
Fri Oct 15 01:39:00 GMT 1999


  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



More information about the Gcc-patches mailing list