rule
: something
;
catch[ExceptionType e] { stuff... }
finally { more stuff... }
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Warren Falk
Sent: Thursday, May 14, 2009 5:11 PM
To: Terence Parr
Cc: [email protected]
Subject: Re: [antlr-interest] unreachable catch block
On Thu, May 14, 2009 at 6:00 PM, Terence Parr <[email protected]> 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.
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---