When I want to create a parser out of my grammar ANTLR gives me an error about a non-LL(*) conform content. I do understand that this means that there must be a point where the parser can't distinguish between two or more rules but what I don't understand is what ANTLR means by saying that this ambiguity is reachable from (for example) 'alts 1,2'.
Is there a way to interpret these numbers to actually find the particular input which causes this ambiguity so that I know what I have to fix? Because I find it really difficult to look at my grammar again and find out what causes this issue...
Best regards Raven
'HELLO' 'MOM' | 'GOODBYE' DAD' | 'HELLO' 'DAD'where an LL(1) parser can't distinguish between alternatives 1 and 3 just by seeingHELLO. - 500 - Internal Server Error