rm dead code

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9562]
This commit is contained in:
parrt 2011-12-11 13:03:34 -08:00
parent b379a56c7f
commit 8615fc26da
1 changed files with 0 additions and 11 deletions

View File

@ -225,17 +225,6 @@ public class ParserATNSimulator<Symbol> extends ATNSimulator {
s.ctxToPrediction.put(outerContext, ctx_alt);
if ( retry_debug ) System.out.println("updated DFA:\n"+dfa.toString(parser.getTokenNames()));
return ctx_alt;
//// System.out.println("start all over with ATN; can't use DFA");
// // start all over with ATN; can't use DFA
// input.seek(startIndex);
// DFA throwAwayDFA = new DFA(dfa.atnStartState);
// int alt = execATN(input, throwAwayDFA, startIndex, s0.configs, true);
// if ( dfa_debug ) {
// System.out.print("back from DFA update for ctx sensitive state; DFA=\n" + dfa.toString(parser.getTokenNames()));
// }
// s.ctxToPrediction.put(outerContext, alt);
// return alt;
}
if ( s.isAcceptState ) {
if ( s.predicates!=null ) {