[antlr-interest] How to the generated code in the "catch" section ?
Gavin Lambert
antlr at mirality.co.nz
Thu Feb 28 02:35:42 PST 2008
At 12:12 28/02/2008, Darien Hager wrote:
>I thought you could suffix a rule definition with an catch{...}
>block. I know there was something like that that at least worked
>when building for the Java runtime.
>
><http://www.antlr.org/wiki/display/ANTLR3/Grammars>http://www.antlr.org/wiki/display/ANTLR3/Grammars
It's syntactically valid but last time I checked ANTLR3 didn't
actually do anything with the catch blocks. (ANTLR2 does support
it, and ANTLR3 will support it, but I don't think it does yet.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080228/132caaf1/attachment.html
More information about the antlr-interest
mailing list