Re: Bison reduce/reduce problem

Venkatesha Murthy <>
27 Sep 2003 13:56:06 -0400

          From comp.compilers

Related articles
Bison reduce/reduce problem (2003-09-23)
Re: Bison reduce/reduce problem (Venkatesha Murthy) (2003-09-27)
Re: Bison reduce/reduce problem (Pete Jinks) (2003-09-27)
| List of all articles for this month |

From: Venkatesha Murthy <>
Newsgroups: comp.compilers
Date: 27 Sep 2003 13:56:06 -0400
Organization: Wind River Systems Inc.
References: 03-09-081
Keywords: yacc, syntax
Posted-Date: 27 Sep 2003 13:56:06 EDT

With this grammar a sentence of the form name ':' type can be either a
param_spec or a return_spec. If some of the prefixes of def are
unique to param_spec (or return spec), you could use them to
disambiguate the parsing. Looks like this is a sub-grammar of a larger
grammar, so you would have prefixes there.


Morey Roof wrote:

> Hello. I have been trying to figure out how to solve some of these
> reduce/reduce errors in bison and have looked through their manual on
> it and still don't have much luck. So, here is their example changed
> to show the type of problem I am having. ...

Post a followup to this message

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