[antlr-interest] Antlr 3.3 Generate wrong debug code C# target
Massimiliano Donini
maxgbr at hotmail.it
Mon Jan 17 14:25:50 PST 2011
Hi, i'm writing because i have some problems using Antlr 3.3, target
CSharp3 with -debug option.
Compile the attached grammar (taken from Antlr 3.3 examples) with
-debug, ANTLR generates wrong C# code eg:
* generates wrong class definition eg: public partial class Myclass
: DebugAntlr.Runtime.Parser instead of Antlr.Runtime.Debug.DebugParser
* doesn't genrate static member decisionCanBacktrack
* set the DebugListener readonly property in the constructor
Best Regards
Max
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestImport.rar
Type: application/octet-stream
Size: 805 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20110117/d78d12f5/attachment.obj
More information about the antlr-interest
mailing list