xanadu - xml-tree
This commit is contained in:
parent
1c3e8e179d
commit
5458da8376
|
@ -96,12 +96,12 @@
|
||||||
(let* ((side-tree (tree side-string))
|
(let* ((side-tree (tree side-string))
|
||||||
(len (vector-length side-tree)))
|
(len (vector-length side-tree)))
|
||||||
(do ((i 0 (+ i 1)))
|
(do ((i 0 (+ i 1)))
|
||||||
((let* ((side-tree-el-first (vector-ref side-tree i)))
|
((let ((side-tree-el-first (vector-ref side-tree i)))
|
||||||
(cond ((>= i len);;last node
|
(cond ((>= i len);;last node
|
||||||
(do ((j 0 (+ j 1)))
|
(do ((j 0 (+ j 1)))
|
||||||
((= j len) 0)
|
((= j len) 0)
|
||||||
(search-rec str (vector-ref side-tree j))))
|
(search-rec str (vector-ref side-tree j))))
|
||||||
((let ((side-tree-el-second ((vector-ref side-tree (+ i 1)))))
|
((let ((side-tree-el-second (vector-ref side-tree (+ i 1))))
|
||||||
(and (string<? str
|
(and (string<? str
|
||||||
((side-tree-el-first 'get-data)))
|
((side-tree-el-first 'get-data)))
|
||||||
(string>? str
|
(string>? str
|
||||||
|
|
Loading…
Reference in New Issue