[antlr-interest] Re: largest match
mzukowski at bco.com
mzukowski at bco.com
Mon Jan 7 08:53:24 PST 2002
You should be using literals. Read the docs, look at the sample grammars.
Monty
> -----Original Message-----
> From: etoffi2 [mailto:etoffi2 at yahoo.com]
> Sent: Monday, January 07, 2002 8:52 AM
> To: antlr-interest at yahoogroups.com
> Subject: [antlr-interest] Re: largest match
>
>
> --- 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/
>
>
>
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list