xanadu - xml-tree

This commit is contained in:
erana 2012-01-21 22:07:11 +09:00
parent 1c3e8e179d
commit 5458da8376
1 changed files with 2 additions and 2 deletions

View File

@ -96,12 +96,12 @@
(let* ((side-tree (tree side-string))
(len (vector-length side-tree)))
(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
(do ((j 0 (+ j 1)))
((= j len) 0)
(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
((side-tree-el-first 'get-data)))
(string>? str