Re: Need Help in Shift Reduce Errors

2005-07-22 Thread Laurence Finston
On Fri, 22 Jul 2005, Atul Kulkarni wrote: > I am facing a problem with the Grammar i am feeding to the Bison. It > throws 2 shift reduce conflicts. Please help with this I am not able > to resolve them. If shifting is the correct behavior, my advice is to not worry about it. Laurence Finston _

Re: Need Help in Shift Reduce Errors

2005-07-22 Thread Atul Kulkarni
Well I would not really worry about them but one variant of Bison Yacc just does not generate output "c" code for this grammar. That's what worries me. Regards, Atul. On 7/22/05, Laurence Finston <[EMAIL PROTECTED]> wrote: > On Fri, 22 Jul 2005, Atul Kulkarni wrote: > > > I am facing a problem w

Re: Need Help in Shift Reduce Errors

2005-07-22 Thread Laurence Finston
On Fri, 22 Jul 2005, Atul Kulkarni wrote: > Well I would not really worry about them but one variant of Bison Yacc > just does not generate output "c" code for this grammar. That's what > worries me. > It may be that Bison fails if the number of conflicts is different from the value specified usi

Re: Need Help in Shift Reduce Errors

2005-07-22 Thread Hans Aberg
On 22 Jul 2005, at 06:23, Atul Kulkarni wrote: I am facing a problem with the Grammar i am feeding to the Bison. It throws 2 shift reduce conflicts. Please help with this I am not able to resolve them. Shift/reduce conflicts can sometimes be resolved using token precedences (%left, etc.). L