summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Court`es2007-04-04 17:17:32 +0000
committerLudovic Court`es2007-04-04 17:17:32 +0000
commitcd13b7d4c8846f96c8d17cfcd09848b65a770929 (patch)
tree5928b595a67ea01b4e5c619e6df113d6b9cae87d
parent1ff9754b0fe07df42670baf32252d1bb0e7a6590 (diff)
parenta619f2d4c984af86bac0fdf8deb26ad7d72faaca (diff)
downloadskribilo-cd13b7d4c8846f96c8d17cfcd09848b65a770929.tar.gz
skribilo-cd13b7d4c8846f96c8d17cfcd09848b65a770929.tar.lz
skribilo-cd13b7d4c8846f96c8d17cfcd09848b65a770929.zip
Fixed `find-up'.
* src/guile/skribilo/ast.scm (find-up): Don't cons OBJ when it doesn't match PRED. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-86
-rw-r--r--ChangeLog17
-rw-r--r--src/guile/skribilo/ast.scm2
2 files changed, 18 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 583c4b4..eb8e8c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,23 @@
# arch-tag: automatic-ChangeLog--skribilo@sv.gnu.org--2006/skribilo--devo--1.2
#
+2007-04-04 17:17:32 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-86
+
+ Summary:
+ Fixed `find-up'.
+ Revision:
+ skribilo--devo--1.2--patch-86
+
+ * src/guile/skribilo/ast.scm (find-up): Don't cons OBJ when it doesn't
+ match PRED.
+
+ modified files:
+ ChangeLog src/guile/skribilo/ast.scm
+
+ new patches:
+ lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-45
+
+
2007-04-04 17:16:45 GMT Ludovic Court`es <ludovic.courtes@laas.fr> patch-85
Summary:
diff --git a/src/guile/skribilo/ast.scm b/src/guile/skribilo/ast.scm
index 5146f75..534b832 100644
--- a/src/guile/skribilo/ast.scm
+++ b/src/guile/skribilo/ast.scm
@@ -580,7 +580,7 @@
((pred obj)
(loop (ast-parent obj) (cons obj res)))
(else
- (loop (ast-parent obj) (cons obj res))))))
+ (loop (ast-parent obj) res)))))
(define (find1-up pred obj)
(let loop ((obj obj))