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


_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to