the error messages go away and the parser works, but that means my parser requires a lot of idiosyncratic hand maintenance. I suspect that the calculation of the state is examining only the current production when it should recursively examine the referenced productions. Note that this grammar is valid in yacc:
Cc: @RubenVerborgh
This grammar yields conflicts on
p2_Opt
andFlag_Star
:If I change
Foo
to bethe error messages go away and the parser works, but that means my parser requires a lot of idiosyncratic hand maintenance. I suspect that the calculation of the state is examining only the current production when it should recursively examine the referenced productions. Note that this grammar is valid in yacc:
with the obvious lex: