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


Reply via email to