| 14556 | } |
| 14557 | |
| 14558 | bool TestSpecParser::separate() { |
| 14559 | if( (m_mode==QuotedName) || (m_mode==Tag) ){ |
| 14560 | //invalid argument, signal failure to previous scope. |
| 14561 | m_mode = None; |
| 14562 | m_pos = m_arg.size(); |
| 14563 | m_substring.clear(); |
| 14564 | m_patternName.clear(); |
| 14565 | return false; |
| 14566 | } |
| 14567 | endMode(); |
| 14568 | addFilter(); |
| 14569 | return true; //success |
| 14570 | } |
| 14571 | |
| 14572 | std::string TestSpecParser::preprocessPattern() { |
| 14573 | std::string token = m_patternName; |