Hi, > if ( _expressionDepth > 50 ) > throw new OperationCanceledException( "Expression nested > too deeply." );
If you're using a VM language (C#?), why don't you simply catch the StackOverflowException outside of your parsing code, in the driver? That way, you only signal an error when it's really needed, and people can fix the issue by increasing the stack size. Regards, /Martin List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org:8080/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 -~----------~----~----~----~------~----~------~--~---
