src/Generic/actors/JabariTokenMatcher.cpp
// to avoid returning from a BOOST_FOREACH

to avoid returning from a BOOST_FOREACH
to avoid returning from a BOOST_FOREACH
BOOST_FOREACH(Match match, result) {
			if (is_done)
				continue;
			bool isAcronym = (matchType==ACRONYM_MATCH);
			if ((match.start_token==start_toknum) && (match.end_token==end_toknum) && (match.id == match_ids.valueId)) {
				if (newMatchIsBetter(match_ids, pattern_strlen, isAcronym, match)) {
					PatternIdType patternId = match_ids.patternId.isNull() ? match.patternId : match_ids.patternId;
					match = Match(match_ids.valueId, patternId, match_ids.code, start_toknum, 
						end_toknum, pattern_strlen, match_ids.weight, isAcronym);
				}
				is_done = true;
			}
		}
BOOST_FOREACH ( Match match , result ) { if ( is_done ) continue ; bool isAcronym = ( matchType == ACRONYM_MATCH ) ; if ( ( match . start_token == start_toknum ) && ( match . end_token == end_toknum ) && ( match . id == match_ids . valueId ) ) { if ( newMatchIsBetter ( match_ids , pattern_strlen , isAcronym , match ) ) { PatternIdType patternId = match_ids . patternId . isNull ( ) ? match . patternId : match_ids . patternId ; match = Match ( match_ids . valueId , patternId , match_ids . code , start_toknum , end_toknum , pattern_strlen , match_ids . weight , isAcronym ) ; } is_done = true ; } }
to avoid returning from a BOOST_FOREACH
to avoid returning from a BOOST_FOREACH