Fix merging of report-entries.
This commit is contained in:
parent
93e1e6d710
commit
c1e7d07586
|
@ -85,9 +85,9 @@
|
||||||
(=> unmatch)
|
(=> unmatch)
|
||||||
(if (< start2 end1) ; l in within prev
|
(if (< start2 end1) ; l in within prev
|
||||||
;; merge the two
|
;; merge the two
|
||||||
(values (cons (merge-entries prev l) (cdr new-report))
|
(let ([merged (merge-entries prev l)])
|
||||||
;; we don't advance, since we merged
|
(values (cons merged (cdr new-report))
|
||||||
prev)
|
merged))
|
||||||
(unmatch))]
|
(unmatch))]
|
||||||
[(prev l) ; no overlap, just add to the list
|
[(prev l) ; no overlap, just add to the list
|
||||||
(values (cons l new-report) l)])))
|
(values (cons l new-report) l)])))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user