[antlr-interest] how to catch the exception in antlr

William Vian williamyuan at yeah.net
Wed Oct 1 00:07:23 PDT 2008


Hi ALL,

Question as title

i've tried this ,

defaultErrorHandler = false; 

and 

@rulecatch {
catch (RecognitionException e) {
throw e;
}
}

but seems it doesn't work

I think we are short of documentations ,any one help please, 

Thanks

Bill Vian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20081001/1a5493f7/attachment.html 


More information about the antlr-interest mailing list