update comment
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9461]
This commit is contained in:
parent
2c52166dd0
commit
fe1691da78
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue