[antlr-interest] Viable Alternative Rule?

Ted Hoise tedhoise at yahoo.com
Sun Aug 29 07:40:16 PDT 2010


VERY simple example

rule : 'H'  ;

When I test this very simple rule, it works (in Antlrworks and Eclipse) of course for input 'H', but it also works for input 'fH', resulting in a token 'fH'.  I do I suppress this behavior:  it seems like an error should occur.




      


More information about the antlr-interest mailing list