[antlr-interest] Antlr 3.3 Generate wrong debug code C# target
Sam Harwell
sharwell at pixelminegames.com
Mon Jan 17 15:23:51 PST 2011
Hi Max,
The CSharp3 target does not currently support ANTLRWorks-style debugging.
I'm planning to support debugging in a future release of the target.
Thanks,
Sam
-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Massimiliano Donini
Sent: Monday, January 17, 2011 4:26 PM
To: antlr-interest at antlr.org
Subject: [antlr-interest] Antlr 3.3 Generate wrong debug code C# target
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
More information about the antlr-interest
mailing list