[antlr-interest] C Target: Stopping parse on first error

A Z asicaddress at gmail.com
Sun Nov 6 11:22:54 PST 2011


In the C target is there a way to arbitrarily return from the parser? For
instance, if an include file is not found ANTLR never sees an exception but
I would like to stop parsing that file immediately. Could I possibly insert
an EOF token before continuing with the parse?

Thanks


More information about the antlr-interest mailing list