tweak comment
This commit is contained in:
parent
ad737ebdf6
commit
e33e355d66
|
@ -30,9 +30,6 @@ package org.antlr.v4.runtime;
|
|||
|
||||
/** A simple stream of integers used when all I care about is the char
|
||||
* or token type sequence (such as interpretation).
|
||||
*
|
||||
* Do like Java IO and have new BufferedStream(new TokenStream) rather than
|
||||
* using inheritance?
|
||||
*/
|
||||
public interface IntStream {
|
||||
void consume();
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
grammar T;
|
||||
|
||||
s : A | B ;
|
||||
x : (A|B);
|
||||
A : 'a'|'c';
|
||||
B : 'b' ;
|
||||
|
||||
e : e '+' e
|
||||
| INT
|
||||
;
|
||||
|
|
Loading…
Reference in New Issue