[antlr-interest] Re: Bug in the C# runtime with case- insensitive literals
Arnar Birgisson
arnarb at oddi.is
Fri Nov 28 01:10:28 PST 2003
Hello Nijesh.
It's the same as for regular expressions, ()* matches zero or more of
whatever is inside the (), and ()+ matches one or more (i.e. with + at
least one item is required).
You should really read the fine manual at
http://www.antlr.org/doc/index.html, I have recently begun using ANTLR
as well and I found the manual to be very helpful and easy to read.
Arnar
> -----Original Message-----
> From: Nijesh Panchratna, Noida [mailto:nijesh at noida.hcltech.com]
> Sent: 28. nóvember 2003 07:07
> To: antlr-interest at yahoogroups.com
> Subject: RE: [antlr-interest] Re: Bug in the C# runtime with
> case- insensitive literals
>
>
> Hi!!!! am new to antlr.
> what is the difference in ()* and ()+ ??
> thanks in advance.
> -----Original Message-----
> From: micheal_jor [mailto:open.zone at virgin.net]
> Sent: Friday, November 28, 2003 1:40 AM
> To: antlr-interest at yahoogroups.com
> Subject: [antlr-interest] Re: Bug in the C# runtime with case-
> insensitive literals
>
>
> --- 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/
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