tweak comment

This commit is contained in:
Terence Parr 2012-08-26 16:32:28 -07:00
parent ad737ebdf6
commit e33e355d66
2 changed files with 4 additions and 6 deletions

View File

@ -30,9 +30,6 @@ package org.antlr.v4.runtime;
/** A simple stream of integers used when all I care about is the char /** A simple stream of integers used when all I care about is the char
* or token type sequence (such as interpretation). * or token type sequence (such as interpretation).
*
* Do like Java IO and have new BufferedStream(new TokenStream) rather than
* using inheritance?
*/ */
public interface IntStream { public interface IntStream {
void consume(); void consume();

View File

@ -1,6 +1,7 @@
grammar T; grammar T;
s : A | B ; s : A | B ;
x : (A|B);
A : 'a'|'c'; e : e '+' e
B : 'b' ; | INT
;