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

Johannes Luber jaluber at gmx.de
Thu Feb 21 06:55:34 PST 2008


Ed Sykes schrieb:
> On Thu, Feb 21, 2008 at 2:50 PM, Ed Sykes <ed.sykes at gmail.com 
> <mailto: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).

That is the driver program. Just to get your situation: ANTLR generates 
exceptions. Do you have in the generated code some catch clause which 
isn't called? Or do you complain that you had to add a catch clause to 
your driver?

Johannes


More information about the antlr-interest mailing list