Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!labrea!decwrl!hplabs!hp-pcd!hpcvc0!hpcvcd!charles From: charles@hpcvcd.HP (Charles Brown) Newsgroups: comp.sources.bugs Subject: Re: yacc misfeature (was: Help needed for Logo on Unix) Message-ID: <4300001@hpcvcd.HP> Date: Sun, 19-Jul-87 01:25:45 EDT Article-I.D.: hpcvcd.4300001 Posted: Sun Jul 19 01:25:45 1987 Date-Received: Sun, 19-Jul-87 20:43:37 EDT References: <632@sol.ARPA> Organization: Hewlett-Packard Co., Corvallis, Oregon Lines: 17 >When the %union feature is used, this creates a union typedef for >YYSTYPE. Unfortunately, a typedef is not a #define and the default >type isn't overidden. In the end I sent y.tab.c through a sed script to >remove the #define. > >Maybe people don't use %union that much? It really is nifty. > Ken I am using %union without sed and without problems. I am using HP-UX on an HP9000s500. This is a derivative of Ma Bell Un*x. Perhaps your yacc is broken. Charles Brown hplabs!hp-pcd!charles HP-UX is probably a trademark of Hewlett-Packard. Un*x is not a trademark of Ma Bell.