update comment

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9461]
This commit is contained in:
parrt 2011-11-25 16:25:30 -08:00
parent 2c52166dd0
commit fe1691da78
1 changed files with 3 additions and 1 deletions

View File

@ -29,7 +29,9 @@
package org.antlr.v4.runtime;
/** Bail out of parser at first syntax error */
/** Bail out of parser at first syntax error. Do this to use it:
* myparser.setErrorHandler(new BailErrorStrategy<Token>());
*/
public class BailErrorStrategy<Symbol> extends DefaultErrorStrategy<Symbol> {
/** Instead of recovering from exception e, Re-throw wrote it wrapped
* in a generic RuntimeException so it is not caught by the