[antlr-interest] Re: Bug in c# case-insensitive lexer

micheal_jor open.zone at virgin.net
Wed Jul 2 12:06:52 PDT 2003


Thanks for the report Tom,

This issue has already been fixed. I'll arrange a service release for 
the C# bits as soon as schedule permits.

Cheers,

Micheal
ANTLR/C# codegen

> So appropriate line in lexer should read:
> 
> literals = new Hashtable( new 
> System.Collections.CaseInsensitiveHashCodeProvider(), new 
> System.Collections.CaseInsensitiveComparer());
> 
> instead of:
> 
> literals = new Hashtable( new 
> System.Collections.CaseInsensitiveHashCodeProvider(), null);
> 
> Which should be corrected in line 1252 of CSharpCodeGenerator.java 
> file.
> 
> Regards,
> Tom Jastrzebski


 

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




More information about the antlr-interest mailing list