diff options
author | Ludovic Court`es | 2007-04-04 17:17:32 +0000 |
---|---|---|
committer | Ludovic Court`es | 2007-04-04 17:17:32 +0000 |
commit | cd13b7d4c8846f96c8d17cfcd09848b65a770929 (patch) | |
tree | 5928b595a67ea01b4e5c619e6df113d6b9cae87d | |
parent | 1ff9754b0fe07df42670baf32252d1bb0e7a6590 (diff) | |
parent | a619f2d4c984af86bac0fdf8deb26ad7d72faaca (diff) | |
download | skribilo-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-- | ChangeLog | 17 | ||||
-rw-r--r-- | src/guile/skribilo/ast.scm | 2 |
2 files changed, 18 insertions, 1 deletions
@@ -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)) |