public static void UnreachableAlts(DecisionProbe probe, IEnumerable <int> alts) { GetErrorState().errors++; Message msg = new GrammarUnreachableAltsMessage(probe, alts); GetErrorState().errorMsgIDs.Add(msg.msgID); GetErrorListener().Error(msg); }
public static void UnreachableAlts( DecisionProbe probe, IEnumerable<int> alts ) { GetErrorState().errors++; Message msg = new GrammarUnreachableAltsMessage( probe, alts ); GetErrorState().errorMsgIDs.Add( msg.msgID ); GetErrorListener().Error( msg ); }