// TODO: we can remove I think. All detected now with cycles check. public static void LeftRecursion(DecisionProbe probe, int alt, ICollection targetRules, ICollection callSiteStates) { getErrorState().warnings++; Message msg = new LeftRecursionMessage(probe, alt, targetRules, callSiteStates); getErrorState().warningMsgIDs.add(msg.msgID); getErrorListener().Warning(msg); }