[antlr-interest] Re: Bug in the C# runtime with case- insensitive literals

micheal_jor open.zone at virgin.net
Thu Nov 27 12:10:03 PST 2003


--- In antlr-interest at yahoogroups.com, "gsidier" <sidier at e...> wrote:
> Hi,
> 
> There appears to be a bug in ANLTR/C# when asking the lexer for case-
> insensitive literals -- one never gets them !

Oh dear!  ;-)

> The source of the error seems to be this line :
> 
> CSharpCodeGenerator.java : line # 1253
> println("literals = new Hashtable(new 
> System.Collections.CaseInsensitiveHashCodeProvider(), null);");

<SNIP>

> Doing this works for me -- has anyone else stumbled across this 
> problem ?

Yes and thanks for the report.

This issue has already been fixed. An update to the C# codegen and
runtime for ANTLR 2.7.2 can be found on the ANTLR website:

http://www.antlr.org/share/1057353989224/antlr-2.7.2-CSharp-SP1.zip

Cheers,

Micheal
ANTLR/C#



 

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




More information about the antlr-interest mailing list