[antlr-interest] please help on simple parser antlr v3

Terence Parr parrt at cs.usfca.edu
Wed Sep 27 11:51:11 PDT 2006


On Sep 27, 2006, at 5:52 AM, Michiel Vermandel wrote:

>
> Hi Tom,
>
> Thanks for your explanation.
> I made some extra lexer rules and I succeeded in eliminating the  
> warnings.
> Though I'm not sure my grammar is still correct and I don't  
> understand why this solution does not generate the warnings.

ANTLR (in lexer) gives priority to rules listed first and hence no  
error when there is overlap.

Ter



More information about the antlr-interest mailing list