tweak comments

This commit is contained in:
Terence Parr 2012-09-22 12:29:22 -07:00
parent 01b5510be1
commit 4abedb08dd
2 changed files with 1 additions and 4 deletions

View File

@ -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) {

View File

@ -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.