update comment on consume()

This commit is contained in:
Terence Parr 2012-10-11 18:51:58 -07:00
parent 643edf0263
commit 27a8e5e521
1 changed files with 3 additions and 3 deletions

View File

@ -79,9 +79,9 @@ public interface IntStream {
* filtering streams (e.g. {@link CommonTokenStream} which distinguishes * filtering streams (e.g. {@link CommonTokenStream} which distinguishes
* between "on-channel" and "off-channel" tokens). * between "on-channel" and "off-channel" tokens).
* *
* @throws IllegalStateException if an attempt is made to consume the the * @throws IllegalStateException if an attempt is made to consume past
* end of the stream (i.e. if {@code LA(1)==}{@link #EOF EOF} before calling * end of the stream (i.e. if last char == {@link #EOF EOF} before calling
* {@code consume}). * {@code consume}). Sometimes need to match EOF during prediction.
*/ */
void consume(); void consume();