[antlr-interest] Lexer and Java keywords

Jim Idle jimi at temporal-wave.com
Wed Dec 9 14:25:39 PST 2009


Please post your lexer rules - can't do anything but speculate without them. It may be that you do not have enough coverage in your lexer.

Jim

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Marcin Rzeznicki
> Sent: Wednesday, December 09, 2009 2:23 PM
> To: Sam Harwell
> Cc: antlr-interest at antlr.org
> Subject: Re: [antlr-interest] Lexer and Java keywords
> 
> 2009/12/9 Sam Harwell <sharwell at pixelminegames.com>:
> > Sounds like a bug in either AW or the version of the ANTLR tool
> you're using. All but one of my grammars works like your original one
> without any problems. The last uses a hash table for keywords because
> it's in a speed-critical area.
> >
> 
> That's strange, don't you think? I am using the latest version of
> both, I am sure someone would have found a bug so serious ...
> 
> --
> Greetings
> Marcin Rzeźnicki
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address





More information about the antlr-interest mailing list