[antlr-interest] exceptions,

Alexandru Mosoi brtzsnr at gmail.com
Fri Mar 21 05:56:46 PDT 2008


and, how do I treat semantic errors? I need to output an error and stop if
there is any problem.

On Fri, Mar 21, 2008 at 12:50 PM, Johannes Luber <jaluber at gmx.de> wrote:

> Alexandru Mosoi schrieb:
> > hello,
> >
> > how do I raise exceptions in antlr 3? it seems that throw clause is
> > ignored when generating sources. an example would be best.
>
> I believe that a catch clause is ignored at least in 3.0.x. Not sure if
> Ter fixed it for 3.1.
>
> Johannes
>



-- 
Alexandru Moşoi
http://alexandru.mosoi.googlepages.com

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080321/5dd1c0d1/attachment.html 


More information about the antlr-interest mailing list