Commit ac78bcc6 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent b546a2b5
......@@ -74,8 +74,8 @@ func (S *RangeSet) AddRange(r Range) {
})
if ilo == l { // not found
// XXX append r; l++
// XXX check & merge with prev
S.rangev = append(S.rangev, r)
l++
}
// find firt jhi: r.hi > =(?) [jhi].lo
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment