* c-decl.c (grokfield): Make sure the only unnamed fields
commit7cb6c162b628563c0a7308ac3bf74b3fb22135ba
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Oct 2001 19:44:53 +0000 (8 19:44 +0000)
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Oct 2001 19:44:53 +0000 (8 19:44 +0000)
tree57957d9b9f531e9eefc55ddc7c9826a3fc7e0004
parenta45a9a4d05f731e2b3e4d558fca6bdf9b4f45109
* c-decl.c (grokfield): Make sure the only unnamed fields
we're allowing are either structs or unions.
* doc/extend.texi: Add documentation for the unnamed field
extension.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46088 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-decl.c
gcc/doc/extend.texi