[antlr-interest] Re: Possible bug in generated C# code

micheal_jor open.zone at virgin.net
Tue Dec 14 16:00:45 PST 2004



--- In antlr-interest at yahoogroups.com, "iooab23" <sarandos.steve at p...>
wrote:
> 
> 
> I was attempting to port StringTemplate 2.0 to C# and I am running 
> into some problems with the C# code generated by ANTLR 2.7.4.
> 
> Issue #1:  The _saveIndex variable created in the lexers is being 
> declared multiple times in a single function.  The C# compiler 
> complains that the variable already exists.
> 
> Issue #2:  The constructor for the ActionParser is being generated 
> incorrectly.  ANTLR generates:

<SNIP>

> Is anyone familiar with these issues?  Are there fixes available for 
> them?

Hi Steve,

Thanks for the report. Can you send a grammar that
triggers/demonstrates these issues please?. It would help if we hope
to resolve this issue before a 2.7.5 release. 

We're working on StringTemplate but waiting for the 2.1 code from Ter.

Cheers,

Micheal
ANTLR/C#






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

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





More information about the antlr-interest mailing list