[antlr-interest] unreachable catch block

Warren Falk warren-antlr.org at warrenfalk.com
Thu May 14 15:11:24 PDT 2009


On Thu, May 14, 2009 at 6:00 PM, Terence Parr <parrt at cs.usfca.edu> wrote:
> that's why this one fails...  oh and rulecatch works at global not rule
> level i think.
> T

I want to create a rule which always matches the next token in the
stream.  Is there a reason that should be illegal (or is this a bug?)

Oh, and @rulecatch { } at a global level doesn't seem to eliminate the
catch either, so I'm not sure it's what I'm looking for anyway.


More information about the antlr-interest mailing list