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

Re: "Left recursion detected" when translating from BNF

by Artur Rataj :: Rate this Message:

Reply to Author | View in Thread

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