update comment on consume()
This commit is contained in:
parent
643edf0263
commit
27a8e5e521
|
@ -79,9 +79,9 @@ public interface IntStream {
|
|||
* filtering streams (e.g. {@link CommonTokenStream} which distinguishes
|
||||
* between "on-channel" and "off-channel" tokens).
|
||||
*
|
||||
* @throws IllegalStateException if an attempt is made to consume the the
|
||||
* end of the stream (i.e. if {@code LA(1)==}{@link #EOF EOF} before calling
|
||||
* {@code consume}).
|
||||
* @throws IllegalStateException if an attempt is made to consume past
|
||||
* end of the stream (i.e. if last char == {@link #EOF EOF} before calling
|
||||
* {@code consume}). Sometimes need to match EOF during prediction.
|
||||
*/
|
||||
void consume();
|
||||
|
||||
|
|
Loading…
Reference in New Issue