help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exceeded limits of %dprec/%merge?


From: Joel E. Denny
Subject: Re: Exceeded limits of %dprec/%merge?
Date: Thu, 18 May 2006 21:54:56 -0400 (EDT)

On Thu, 18 May 2006, Derek M Jones wrote:

> I may think I have caught all the ambiguities/conflicts that can occur.

You can be sure by declaring the same %merge on every rule that has the 
same LHS symbol.

> However, as a fail safe I would want to install my own version of
> yyreportAmbiguity, not least to print out information about where to
> report the error, give line number information, etc.
> 
> Also, what is wrong with using my_yyreportAmbiguity to resolve an
> ambiguity?  For my current problem I can rewrite the grammar to stop
> it happening, but this might not always be the case.  There may be
> situations where resolving the issue in my_reportAmbiguity provides
> a much neater solution.

Define the interface of this new function and how it should be declared.

Originally, we were discussing conflict time, and now we're back to merge 
time.  What happened?

Joel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]