Sam Harwell wrote:

> I just checked and the feature is not implemented in the code generator
> yet. At least in the C# port of the tool it will cause recognition
> exceptions if you use it in a grammar right now.
>   

Okay, thanks for pointing this out. I'll take a look and keep my eye on it.

Peter

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Sam Harwell
> Sent: Tuesday, January 13, 2009 10:06 AM
> To: Peter C. Chapin
> Cc: antlr-interest
> Subject: Re: [antlr-interest] Passing user defined exceptions through
> theparser.
>
> There is a throwsSpec in the ANTLR tool grammar that *should* be able to
> be used like this:
>
> my_rule /*returns [Object o]*/ throws RecognitionException,
> OperationCanceledException
>  : ...
>  ;
>
> It doesn't apply to C# so it's not implemented in my CSharp3 target.
>
> Sam
>   


List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to