forked from jasder/antlr
v4: Parser.setInputStream calls Parser.setTokenStream
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9438]
This commit is contained in:
parent
1495ba5bd7
commit
cf0d47c8fe
|
@ -76,7 +76,9 @@ public class Parser extends BaseRecognizer<Token> {
|
|||
public TokenStream getInputStream() { return _input; }
|
||||
|
||||
@Override
|
||||
public void setInputStream(IntStream input) { _input = (TokenStream)input; }
|
||||
public final void setInputStream(IntStream input) {
|
||||
setTokenStream((TokenStream)input);
|
||||
}
|
||||
|
||||
/** Set the token stream and reset the parser */
|
||||
public void setTokenStream(TokenStream input) {
|
||||
|
|
Loading…
Reference in New Issue