[antlr-interest] output unparsed code

Corina Herman cbodogai at gmail.com
Wed Jun 13 04:52:40 PDT 2012


Thank you Jim for your answer. Unfortunally the situation is more complex.
I have embedded rules. Similar to if statement in a common language. The
body of the if statement can contain also other if statements. And I would
like to catch rules nonparsable in every level of this kind of arhitecture.
With .* EOL it works on the first level, but if I try to add this unknown
rule as content of an if statement is not working, I believe it cannot
determine the closing of the if because it was catched by that . operator.
Any ideas?

Corina Herman

More information about the antlr-interest mailing list