continue;
matcher_t::may_match_t match = matcher.may_match (info, match_glyph_data);
- if (unlikely (match == matcher_t::MATCH_YES))
+ if (match == matcher_t::MATCH_YES ||
+ (match == matcher_t::MATCH_MAYBE &&
+ skip == matcher_t::SKIP_NO))
{
num_items--;
match_glyph_data++;
}
if (skip == matcher_t::SKIP_NO)
- return match == matcher_t::MATCH_MAYBE ? true : false;
+ return false;
}
return false;
}
continue;
matcher_t::may_match_t match = matcher.may_match (info, match_glyph_data);
- if (unlikely (match == matcher_t::MATCH_YES))
+ if (match == matcher_t::MATCH_YES ||
+ (match == matcher_t::MATCH_MAYBE &&
+ skip == matcher_t::SKIP_NO))
{
num_items--;
match_glyph_data++;
}
if (skip == matcher_t::SKIP_NO)
- return match == matcher_t::MATCH_MAYBE ? true : false;
+ return false;
}
return false;
}