From: Guillermo J. Rozas Date: Tue, 25 Aug 1987 02:18:38 +0000 (+0000) Subject: Fix bug in can-integrate? X-Git-Tag: 20090517-FFI~13108 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=f55ab8de54414aa6483d120aaf70438c3eb33a13;p=mit-scheme.git Fix bug in can-integrate? --- diff --git a/v7/src/compiler/base/pmerly.scm b/v7/src/compiler/base/pmerly.scm index faa4b19e5..a51635818 100644 --- a/v7/src/compiler/base/pmerly.scm +++ b/v7/src/compiler/base/pmerly.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/base/pmerly.scm,v 1.5 1987/08/24 20:37:11 jinx Exp $ +$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/base/pmerly.scm,v 1.6 1987/08/25 02:18:38 jinx Exp $ Copyright (c) 1987 Massachusetts Institute of Technology @@ -527,7 +527,8 @@ MIT in each case. |# (and (not (null? place)) (let ((integrated (cdr place))) (let loop ((left names)) - (cond ((null? left) true) + (cond ((null? left) + (can-integrate? body)) ((memq (car left) integrated) (loop (cdr left))) (else false)))))))))))