forked from jasder/antlr
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
|
/** 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();
|
||||||
|
|
|
@ -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
|
||||||
|
;
|
||||||
|
|
Loading…
Reference in New Issue