[antlr-interest] Per Block Parsing Errors Handling
Terence Parr
parrt at cs.usfca.edu
Mon Apr 5 11:25:21 PDT 2004
Hi Serge,
You need to turn off exception handling at the grammar level and add
exceptions in the function rule etc... It will trap all exceptions in
that/those rules. :)
Terence
On Apr 4, 2004, at 10:09 PM, Serge Bakkal wrote:
> Hi ,
> I would like the parser the be "fault tolerant" , that is ,
> say : while parsing java , report errors in a function scope ,
> and keep going processing parent scopes :
> what is the best strategy to achieve this ?
--
Professor Comp. Sci., University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com
Cofounder, http://www.knowspam.net enjoy email again!
Cofounder, http://www.peerscope.com pure link sharing
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list