From: Taylor R. Campbell Date: Sat, 6 Dec 2008 19:42:15 +0000 (+0000) Subject: Store histories with keyword value items so that passing them to X-Git-Tag: 20090517-FFI~89 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=0d44b9264230c0c482bfc903c17521714a47355d;p=mit-scheme.git Store histories with keyword value items so that passing them to ILLEGAL-EXPRESSION-ITEM will report errors with useful messages. --- diff --git a/v7/src/runtime/syntactic-closures.scm b/v7/src/runtime/syntactic-closures.scm index 7005be8a5..b5c92c8c4 100644 --- a/v7/src/runtime/syntactic-closures.scm +++ b/v7/src/runtime/syntactic-closures.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: syntactic-closures.scm,v 14.19 2008/01/30 20:02:35 cph Exp $ +$Id: syntactic-closures.scm,v 14.20 2008/12/06 19:42:15 riastradh Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -771,7 +771,7 @@ USA. (make-keyword-type "keyword-value-item" '(ITEM EXPRESSION))) (define make-keyword-value-item - (keyword-constructor '(ITEM EXPRESSION))) + (item-constructor '(ITEM EXPRESSION))) (define keyword-value-item? (item-predicate )) @@ -783,7 +783,7 @@ USA. (item-accessor 'EXPRESSION)) (define (make-keyword-ref-item item identifier history) - (make-keyword-value-item item + (make-keyword-value-item history item (make-expression-item history (let ((name (identifier->symbol identifier))) (lambda ()