c-parse.in (component_decl): Support anonymous struct/union.
authorAlastair J. Houghton <ajh8@doc.ic.ac.uk>
Fri, 15 Oct 1999 08:42:02 +0000 (08:42 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 15 Oct 1999 08:42:02 +0000 (02:42 -0600)
commitffc3b0f915b0f510a92a0604d0ddae4b6e7dd34e
tree8bc53910e67e019a077ccea4058a4d9f91b9d391
parente57ad0c81569d506af52ff39efd2fcd9719ef53a
c-parse.in (component_decl): Support anonymous struct/union.

        * 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.
        (field_decl_cmp): Delete unused function.

Co-Authored-By: Mumit Khan <khan@xraylith.wisc.edu>
From-SVN: r30016
gcc/ChangeLog
gcc/c-decl.c
gcc/c-parse.c
gcc/c-parse.in
gcc/c-parse.y
gcc/objc/objc-parse.c
gcc/objc/objc-parse.y