forked from jasder/antlr
Remove dead code statements
This commit is contained in:
parent
72968775bd
commit
fb0adf1ce5
|
@ -878,7 +878,7 @@ namespace Antlr4.Runtime.Atn
|
|||
}
|
||||
nextTransition_continue: ;
|
||||
}
|
||||
nextTransition_break: ;
|
||||
|
||||
if (optimizedTransitions != null)
|
||||
{
|
||||
if (state.IsOptimized)
|
||||
|
@ -894,7 +894,7 @@ nextTransition_break: ;
|
|||
}
|
||||
}
|
||||
}
|
||||
nextState_break: ;
|
||||
|
||||
return removedEdges;
|
||||
}
|
||||
|
||||
|
|
|
@ -567,7 +567,6 @@ namespace Antlr4.Runtime.Atn
|
|||
c = config.Transform(t.target, true);
|
||||
break;
|
||||
}
|
||||
goto case TransitionType.Epsilon;
|
||||
}
|
||||
|
||||
case TransitionType.Epsilon:
|
||||
|
|
|
@ -342,7 +342,7 @@ namespace Antlr4.Runtime.Tree.Pattern
|
|||
// System.out.println("pattern tree = "+tree.toStringTree(parserInterp));
|
||||
throw (RecognitionException)e.InnerException;
|
||||
}
|
||||
catch (RecognitionException re)
|
||||
catch (RecognitionException)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
|
@ -472,7 +472,6 @@ namespace Antlr4.Runtime.Tree.Pattern
|
|||
RuleTagToken ruleTagToken = GetRuleTagToken(r2);
|
||||
if (ruleTagToken != null)
|
||||
{
|
||||
ParseTreeMatch m = null;
|
||||
if (r1.GetRuleIndex() == r2.GetRuleIndex())
|
||||
{
|
||||
// track label->list-of-nodes for both rule name and label (if any)
|
||||
|
|
|
@ -187,7 +187,6 @@ namespace Antlr4.Runtime.Tree.Xpath
|
|||
throw new ArgumentException("Unknowth path element " + el);
|
||||
}
|
||||
}
|
||||
loop_continue: ;
|
||||
}
|
||||
loop_break: ;
|
||||
return elements.ToArray();
|
||||
|
|
Loading…
Reference in New Issue