|
From: | Sylvain Schmitz |
Subject: | Re: Complain about hidden left recursion in GLR parsing |
Date: | Mon, 13 Mar 2006 15:24:13 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040616 |
Sylvain Schmitz wrote:
Here is a simple modification so that bison complains about hidden left recursion, avoiding such cases until someone into GLR parsing implements one of the existing solutions.
And now I see my solution is not working in case a nonterminal has both hidden and non-hidden left recursion like so:
s: a s 'b' | s 'c' | 'x' ; -- Sorry for the noise, Sylvain
[Prev in Thread] | Current Thread | [Next in Thread] |