Make ascend/descend + iter updates more consistent
This commit is contained in:
@@ -1079,8 +1079,8 @@ bool checkRangeRead(Node *n, const std::span<const uint8_t> begin,
|
|||||||
iter = iter->parent;
|
iter = iter->parent;
|
||||||
} else {
|
} else {
|
||||||
ascend(depth, lcp, iter, searchPath);
|
ascend(depth, lcp, iter, searchPath);
|
||||||
auto *result = getChildExists(iter->parent, next);
|
iter = iter->parent;
|
||||||
iter = result;
|
iter = getChildExists(iter, next);
|
||||||
descend(depth, lcp, iter, end, searchPath);
|
descend(depth, lcp, iter, end, searchPath);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user