Interpreting shift/reduce conflicts from .output file

2005-06-12 Thread Frans Englich
Hi, In my grammar I have 2 shift/reduce conflicts. I could find those by staring at my grammar until I find where I introduced it, but I thought I could learn to make use of Bison's nifty debugging -- the output file. At the top of my .output file it says: State 118 conflicts: 2 shift/reduce

Re: Interpreting shift/reduce conflicts from .output file

2005-06-12 Thread Henrik Sorensen
look in the output file for all of the 'go to state 118', this will give you the hints were the grammar are conflicting. hope this helps Henrik On Sunday 12 June 2005 15.04, Frans Englich wrote: > Hi, > > In my grammar I have 2 shift/reduce conflicts. I could find those by > staring at my gramma

Re: Interpreting shift/reduce conflicts from .output file

2005-06-12 Thread Sylvain Schmitz
Frans Englich wrote: state 118 72 SequenceType: ItemType . 73 | ItemType . STAR 74 | ItemType . PLUS 75 | ItemType . QUESTION_MARK PLUS shift, and go to state 134 STAR shift, and go to state 135 QUESTION_MARK shift