Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn) Newsgroups: net.lang.c Subject: Re: Standard for union initialization? Message-ID: <7101@brl-tgr.ARPA> Date: Tue, 8-Jan-85 12:23:14 EST Article-I.D.: brl-tgr.7101 Posted: Tue Jan 8 12:23:14 1985 Date-Received: Thu, 10-Jan-85 07:02:01 EST References: <6995@brl-tgr.ARPA> <7004@brl-tgr.ARPA> <6847@watdaisy.UUCP> Organization: Ballistic Research Lab Lines: 13 > union { > foo; > bar; > mumble; > } baz = (type3) ; This is the closest thing to a solution yet. Still hard to fit into a regular grammar, since "(type)constant" is already understood as a valid constant in this context. However, if the "initialize first member" rule is adopted, the above example would still work in some (not all) cases.