Re: Help with bison

Gene <gene.ressler@gmail.com>
Thu, 26 Jul 2007 20:49:34 -0700

          From comp.compilers

Related articles
Help with bison drewpvogel@gmail.com (2007-07-26)
Re: Help with bison gene.ressler@gmail.com (Gene) (2007-07-26)
Re: Help with bison stephenhorne100@aol.com (Steve Horne) (2007-07-27)
| List of all articles for this month |

From: Gene <gene.ressler@gmail.com>
Newsgroups: comp.compilers
Date: Thu, 26 Jul 2007 20:49:34 -0700
Organization: Compilers Central
References: 07-07-091
Keywords: yacc

On Jul 26, 12:40 pm, drewpvo...@gmail.com wrote:
> The pertinent portion of Simple.y is:
> %union semrec /* The Semantic
> Records */


This construct is not correct bison. Remove the "semrec" and it ought
to work. It's possible that it happened to work with an older version
of bison. You can learn this kind of thing by looking at the bison
documentation.


> "Compiler Construction using Flex and Bison" by Anthony A. Aaby:http://tinyurl.com/yv65ye



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.