[antlr-interest] 3.0b5: c# parser gen error with -debug

Micheal J open.zone at virgin.net
Fri Nov 24 23:44:23 PST 2006


Hi Paul,

Thanks for the report.

> There are several parser generation errors if you use the
> -debug command 
> line option. I'm just reporting this, I'm sure you will fix it later. 
> Unless I have some other setting wrong and it's not an 
> error... These are 
> typical compiler errors:
> 
> dbg.location(0, 5);
[...]
> It should be "dbg.Location(0, 5);" I think.

> NoViableAltException nvae_d2s29 = new NoViableAltException("
[...]
> dbg.RecognitionException(nvae);
[...]
> I guess "nvae" should be "nvae_d2s29".

Replace the file:
    src\org\antlr\codegen\templates\CSharp\Dbg.stg

With the attached Dbg.stg file.


Micheal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Dbg.stg
Type: application/octet-stream
Size: 6043 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20061125/eda227e4/attachment.obj 


More information about the antlr-interest mailing list