forked from jasder/antlr
wasn't using some args
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9547]
This commit is contained in:
parent
131e9f7686
commit
d170d89ce6
|
@ -75,13 +75,13 @@ public class ParserInterpreter {
|
||||||
@Nullable ParserRuleContext outerContext,
|
@Nullable ParserRuleContext outerContext,
|
||||||
boolean useContext)
|
boolean useContext)
|
||||||
{
|
{
|
||||||
return atnSimulator.predictATN(dfa, input, ParserRuleContext.EMPTY, false);
|
return atnSimulator.predictATN(dfa, input, outerContext, useContext);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int adaptivePredict(@NotNull SymbolStream<Token> input, int decision,
|
public int adaptivePredict(@NotNull SymbolStream<Token> input, int decision,
|
||||||
@Nullable ParserRuleContext outerContext)
|
@Nullable ParserRuleContext outerContext)
|
||||||
{
|
{
|
||||||
return atnSimulator.adaptivePredict(input, decision, null);
|
return atnSimulator.adaptivePredict(input, decision, outerContext);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int matchATN(@NotNull SymbolStream<Token> input,
|
public int matchATN(@NotNull SymbolStream<Token> input,
|
||||||
|
|
Loading…
Reference in New Issue