« Return to Thread: "Left recursion detected" when translating from BNF

Re: "Left recursion detected" when translating from BNF

by Bertram :: Rate this Message:

Reply to Author | View in Thread

That did it, thanx a lot.

Artur Rataj wrote:
I am sorry I have overlooked that you have put the parenthesized expression
under searchExp.

Expression in parentheses is usually at the very bottom of the expression
tree, "(" searchExp() ")" should be one of the choices of relExp.

 « Return to Thread: "Left recursion detected" when translating from BNF