[antlr-interest] How to throw an exception for all parsing errors?

Peter C. Chapin pcc482719 at gmail.com
Fri Apr 3 04:26:33 PDT 2009


On Fri, 3 Apr 2009, Johannes Luber wrote:

> This seems to be a bug in ANTLR as such behavior doesn't fit my
> expectations, too. But it seems to be more likely that this is a general
> target bug and not specific to the C# target. Without the grammar in
> question neither Ter nor me can be sure. Can you send it on- or off-list
> to both of us? Does your grammar depend on C#-code to work correctly or
> can it easily converted to Java to cross-check the cause?

Actually my grammar is extremely small right now (since I'm just getting
started) so it's no problem to send it to you. I'll send it and the
supporting code off-list.

I'll send a zip archive. Hopefully that will get through okay.

Peter


More information about the antlr-interest mailing list