[antlr-interest] How to the generated code in the "catch" section ?

Olivier Lefevre lefevrol at yahoo.com
Wed Feb 27 17:03:34 PST 2008


Darien Hager wrote:
> Oops. I think it may have been 
> @rulecatch{...} right after the parser rule definition.

Yes, it's @rulecatch{} but it's very under-documented (only one mention in 
the book and very quick). It can be used as a global, that's for sure, but 
it is totally unclear whether and how it can be used at the method/rule 
level. This is something that could/should be fleshed out somewhere.

-- O.L.



More information about the antlr-interest mailing list