Xie, Linlin wrote:

Hi Jim,

 

I would like to exit the parser upon some errors. How can I do it with the C version of antlr?

 

Thanks!

Regards,

Linlin

Most trivial way is setjmp/lngjmp, but if C++ is in use you can throw exceptions so long as you make sure to compile everything that is C with C++ exception support.

Jim

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

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

Reply via email to