forked from jasder/antlr
tweak comments
This commit is contained in:
parent
01b5510be1
commit
4abedb08dd
|
@ -29,7 +29,7 @@
|
|||
package org.antlr.v4.runtime;
|
||||
|
||||
/** This signifies any kind of mismatched input exceptions such as
|
||||
* when the current input does not match the expected token or tree node.
|
||||
* when the current input does not match the expected token.
|
||||
*/
|
||||
public class InputMismatchException extends RecognitionException {
|
||||
public InputMismatchException(Parser recognizer) {
|
||||
|
|
|
@ -49,9 +49,6 @@ public class RecognitionException extends RuntimeException {
|
|||
|
||||
protected IntStream input;
|
||||
|
||||
/** What is index of token/char were we looking at when the error occurred? */
|
||||
// public int offendingTokenIndex;
|
||||
|
||||
/** The current Token when an error occurred. Since not all streams
|
||||
* can retrieve the ith Token, we have to track the Token object.
|
||||
* For parsers. Even when it's a tree parser, token might be set.
|
||||
|
|
Loading…
Reference in New Issue