SEARCH_ENTERSUB
if (stop && stop != SEARCH_ENTERSUB)
if ((flags & SEARCH_SUB) != 0 || stop == SEARCH_ENTERSUB)