On Wed, Sep 17, 2008 at 4:37 PM, Jim Idle <[EMAIL PROTECTED]> wrote:

> Lexer recovery is just that it eats the character it did not want. There is
> not much else you can do. If you turn it off, then what should it do?
>

In the case of ANTLR, as I understand its design, I would want it to throw
the RecognitionException all the way up through the parser to my client
code.  Thus communicating that no, the input sentence provided does not
conform to my language.

I was, with a bit of a Java hack, able to get this to occur.

Regards,
Tim

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address

Reply via email to