[antlr-interest] Enabling mismatchedTokenException when filter=true
Gustaf Johansson
gustaf.j at gmail.com
Wed Oct 5 11:24:49 PDT 2011
Hi list,
I would like to "dynamically" enable mismatched token exceptions in a tree
grammar with filter enabled.
Basically i want it to be enabled when a sub-rule matches, so that i can
easily locate what sub-area is problematic and causes the complete rule to
not match.
Is this possible?
I have tried to use @after, manual definition of the catch clause and a few
other variants but my attempts have so far been futile :(
BR Gustaf
More information about the antlr-interest
mailing list