[antlr-interest] Re: largest match

etoffi2 etoffi2 at yahoo.com
Mon Jan 7 08:52:28 PST 2002


--- In antlr-interest at y..., mzukowski at b... wrote:
> Are you using literals?  What does your ID rule look like where you have the
> testLiterals=true option on?
> 
> Sounds to me like you have a hard coded lexer rule like
> 
> INT:"int"; 
> 
> and you should be using literals instead.
> 
> Monty
> 

testLiterals was off, but I turned it on and it didnt have any effect.
btw, why is using literals wrong?

--
etoffi


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list