rm toString from token stream. it affects buffer.

This commit is contained in:
Terence Parr 2012-05-20 16:49:44 -07:00
parent 990da7d1d8
commit 5fc148381a
1 changed files with 0 additions and 4 deletions

View File

@ -310,10 +310,6 @@ public class BufferedTokenStream<T extends Token> implements TokenStream {
@Override
public String getSourceName() { return tokenSource.getSourceName(); }
/** Grab *all* tokens from stream and return string */
@Override
public String toString() { return getText(); }
/** Get the text of all tokens in this buffer. */
public String getText() {
if ( p == -1 ) setup();