From 738cd57d43830e29685db9502f74caec26cd2be7 Mon Sep 17 00:00:00 2001 From: "Taylor R. Campbell" Date: Fri, 29 Feb 2008 16:06:34 +0000 Subject: [PATCH] Unsyntax conditionals with the primitive NOT procedure, not the global binding of NOT. --- v7/src/runtime/unsyn.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v7/src/runtime/unsyn.scm b/v7/src/runtime/unsyn.scm index a531d95c2..2821e8f2f 100644 --- a/v7/src/runtime/unsyn.scm +++ b/v7/src/runtime/unsyn.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: unsyn.scm,v 14.36 2008/02/13 14:25:32 cph Exp $ +$Id: unsyn.scm,v 14.37 2008/02/29 16:06:34 riastradh Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -275,7 +275,7 @@ USA. `(IF ,(unsyntax-object predicate) ,(unsyntax-object consequent))) ((eq? consequent undefined-conditional-branch) - `(IF (,not ,(unsyntax-object predicate)) + `(IF (,(ucode-primitive not) ,(unsyntax-object predicate)) ,(unsyntax-object alternative))) ((and (conditional? alternative) (not (has-substitution? alternative))) -- 2.25.1