[antlr-interest] Problem catching exceptions in c# generated code

Ed Sykes ed.sykes at gmail.com
Thu Feb 21 06:50:32 PST 2008


On Thu, Feb 21, 2008 at 2:50 PM, Ed Sykes <ed.sykes at gmail.com> wrote:

> I'm not sure what you mean by driver,
>
> but the catch clause is in the code that calls expr() which is outside any
> generated files (i.e. in my calling code).
>
>
> On Thu, Feb 21, 2008 at 2:32 PM, Johannes Luber <jaluber at gmx.de> wrote:
>
> > Ed Sykes schrieb:
> > > Just to be super clear I should just clarify that the 'using'
> > workaround
> > > that i describe below results in the expections being caught via:
> > >
> > > catch(Exception e)
> > > {
> > >
> > > }
> >
> > Wait a minute - your catch clause has been manually added to the driver
> > class then? Are you using exceptions in the grammar file itself? I know
> > that at least in 3.0.1 that syntax didn't work.
> >
> > Johannes
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080221/c133f2af/attachment.html 


More information about the antlr-interest mailing list