It's a good idea to override ReportError, and this will almost surely provide you with the results you want. You can also put a breakpoint in NoViableAltException's constructor.
Sam -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Johannes Luber Sent: Monday, April 13, 2009 9:39 AM To: Jan Newger Cc: [email protected] Subject: Re: [antlr-interest] AntLR C# target exceptions problem I've never used the error recovery process myself, but I think that you have to overwrite 3 methods. If ReportError() is one of them I don't know but <http://www.antlr.org/wiki/display/ANTLR3/Error+reporting+and+recovery> has some insights. Don't forget to use .NET capitalisation instead the Java one. Johannes List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
