forked from jasder/antlr
rename method
This commit is contained in:
parent
0742b49c1b
commit
fc7977e0d9
|
@ -1084,12 +1084,12 @@ public class ParserATNSimulator extends ATNSimulator {
|
|||
boolean fullCtx)
|
||||
{
|
||||
final int initialDepth = 0;
|
||||
closureCheckingStopStateAndLoopRecursion(config, configs, closureBusy, collectPredicates,
|
||||
closureCheckingStopState(config, configs, closureBusy, collectPredicates,
|
||||
fullCtx,
|
||||
initialDepth);
|
||||
}
|
||||
|
||||
protected void closureCheckingStopStateAndLoopRecursion(@NotNull ATNConfig config,
|
||||
protected void closureCheckingStopState(@NotNull ATNConfig config,
|
||||
@NotNull ATNConfigSet configs,
|
||||
@NotNull Set<ATNConfig> closureBusy,
|
||||
boolean collectPredicates,
|
||||
|
@ -1122,7 +1122,7 @@ public class ParserATNSimulator extends ATNSimulator {
|
|||
// Make sure we track that we are now out of context.
|
||||
c.reachesIntoOuterContext = config.reachesIntoOuterContext;
|
||||
assert depth > Integer.MIN_VALUE;
|
||||
closureCheckingStopStateAndLoopRecursion(c, configs, closureBusy, collectPredicates,
|
||||
closureCheckingStopState(c, configs, closureBusy, collectPredicates,
|
||||
fullCtx, depth - 1);
|
||||
}
|
||||
return;
|
||||
|
@ -1186,7 +1186,7 @@ public class ParserATNSimulator extends ATNSimulator {
|
|||
}
|
||||
}
|
||||
|
||||
closureCheckingStopStateAndLoopRecursion(c, configs, closureBusy, continueCollecting,
|
||||
closureCheckingStopState(c, configs, closureBusy, continueCollecting,
|
||||
fullCtx, newDepth);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue