forked from jasder/antlr
rm dead code
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9552]
This commit is contained in:
parent
c59b63c79b
commit
b89d7c0932
|
@ -643,14 +643,6 @@ public class ParserATNSimulator<Symbol> extends ATNSimulator {
|
|||
// retry using context, if any; if none, kill all but min as before
|
||||
if ( retry_debug ) System.out.println("RETRY '"+ parser.getInputString(startIndex) +
|
||||
"' with ctx="+ originalContext);
|
||||
// int min = ambigAlts.getMinElement();
|
||||
// if ( originalContext==ParserRuleContext.EMPTY ) {
|
||||
// if ( retry_debug ) System.out.println("ctx empty; no need to retry");
|
||||
// // no point in retrying with ctx since it's same.
|
||||
// // this implies that we have a true ambiguity
|
||||
// reportAmbiguity(startIndex, input.index(), ambigAlts, reach);
|
||||
// return min;
|
||||
// }
|
||||
// otherwise we have to retry with context, filling in tmp DFA.
|
||||
// if it comes back with conflict, we have a true ambiguity
|
||||
input.seek(startIndex); // rewind
|
||||
|
|
Loading…
Reference in New Issue