[antlr-interest] Handling Errors

niry niry at 263.net
Mon Feb 14 19:50:03 PST 2005


You should turn off default error handling
options {
//	k = 2;                           // two token lookahead
//	exportVocab=Rule;                // Call its vocabulary "Rule"
//	codeGenMakeSwitchThreshold = 2;  // Some optimizations (don't seem to do
//	codeGenBitsetTestThreshold = 3;  // much speedwise in C++ compared to defaults)
	defaultErrorHandler = true;     // Don't generate parser error handlers
}




More information about the antlr-interest mailing list