[antlr-interest] "finally" blocks
Paul J. Lucas
pauljlucas at mac.com
Mon Jan 17 20:09:36 PST 2005
On Mon, 17 Jan 2005, Bryan Ewbank wrote:
> Another solution is to use functions - and that deals with the problem
> of "return" in an action as well.
>
> action() { ... the true production ... }
> action_exception() { switch (action()) { ... exceptions ... } }
> action_finally() { action_exception(); ... finally ... }
OK, maybe I'm being dense, but I don't get it.
- Paul
More information about the antlr-interest
mailing list