[antlr-interest] Re: 2.7.3rc2: Bug in C# code generator

micheal_jor open.zone at virgin.net
Sun Feb 8 21:56:29 PST 2004


--- In antlr-interest at yahoogroups.com, "tdjastrzebski"
<tdjastrzebski at y...> wrote:
> Hi,
> 
> I rushed to check out new rc version. But C# generated code does not 
> compile at all. Here is the reason:
> 
> File CSharpCodeGenerator.java, line 2521 reads:
> 
> println("override public new Token nextToken()\t\t\t//throws 
> TokenStreamException");
> 
> the above line generates uncompilable code - modifiers "new" 
> and "override" are mutually exclusive.

Thanks for the report Tom. This was caught and fixed before the
release - uncompilable code has that effect ;-) - but it somehow
managed to slip into rc2 anyhows.

It will be corrected in the next release. As a workaround pls delete
"new" from that line in CSharpCodeGenerator.java.

Cheers,

Micheal




 
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