Skip empty swaths of iterator
Avoids things looping forever. Still a lot to fix up: The descend API is
getting messy. We probably want to rewrite the iterator to keep a whole
path, instead of bouncing up and down the tree a lot. Also, a level of
duplicate nodes should be collapsed up a level (we can steal another
bit). The iterator should also be replaced by something more compatible
with crange to avoid the hacks in iteration. But in the meantime, at
least this is functional.
正在显示
请
注册
或者
登录
后发表评论