In parser grammars, ANTLR generates some default error-recovery code that I 
don't override, because it's moderately good and better than bailing out on 
the first error.

However, for tree grammars I've seen ANTLR generate similar error-recovery 
code to try to recover from malformed trees. I override this as I've seen 
statements (that I absolutely agree with) that any kind of automatic 
recovery from walking a malformed tree is folly. With that said, why does 
ANTLR generate any kind of recovery code at all for this kind of grammar?

Richard
-- 
\o/

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