Re: Help with bison

Gene <>
Thu, 26 Jul 2007 20:49:34 -0700

          From comp.compilers

Related articles
Help with bison (2007-07-26)
Re: Help with bison (Gene) (2007-07-26)
Re: Help with bison (Steve Horne) (2007-07-27)
| List of all articles for this month |

From: Gene <>
Newsgroups: comp.compilers
Date: Thu, 26 Jul 2007 20:49:34 -0700
Organization: Compilers Central
References: 07-07-091
Keywords: yacc
Posted-Date: 27 Jul 2007 09:26:35 EDT

On Jul 26, 12:40 pm, 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

> "Compiler Construction using Flex and Bison" by Anthony A. Aaby:

Post a followup to this message

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