Example #1
0
        public static void RecursionOverflow(DecisionProbe probe,
                                             DFAState sampleBadState,
                                             int alt,
                                             ICollection <string> targetRules,
                                             ICollection <ICollection <NFAState> > callSiteStates)
        {
            GetErrorState().errors++;
            Message msg = new RecursionOverflowMessage(probe, sampleBadState, alt,
                                                       targetRules, callSiteStates);

            GetErrorState().errorMsgIDs.Add(msg.msgID);
            GetErrorListener().Error(msg);
        }
Example #2
0
 public static void RecursionOverflow( DecisionProbe probe,
                                      DFAState sampleBadState,
                                      int alt,
                                      ICollection<string> targetRules,
                                      ICollection<ICollection<NFAState>> callSiteStates )
 {
     GetErrorState().errors++;
     Message msg = new RecursionOverflowMessage( probe, sampleBadState, alt,
                                      targetRules, callSiteStates );
     GetErrorState().errorMsgIDs.Add( msg.msgID );
     GetErrorListener().Error( msg );
 }