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

Johannes Luber jaluber at gmx.de
Thu Feb 21 06:42:01 PST 2008


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



More information about the antlr-interest mailing list