From: Chris Hanson <org/chris-hanson/cph> Date: Sun, 28 Feb 1993 21:03:50 +0000 (+0000) Subject: Eliminate prohibition against using syntactic keywords as variables. X-Git-Tag: 20090517-FFI~8441 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=fb12412c83ff6446ccc091db00cf302bf8d24c04;p=mit-scheme.git Eliminate prohibition against using syntactic keywords as variables. If done properly, we could prohibit top-level variable bindings that might cause trouble while allowing local bindings; but this requires redesign of the syntaxer. --- diff --git a/v7/src/runtime/syntax.scm b/v7/src/runtime/syntax.scm index 09bde6afb..62f7432f6 100644 --- a/v7/src/runtime/syntax.scm +++ b/v7/src/runtime/syntax.scm @@ -1,8 +1,8 @@ #| -*-Scheme-*- -$Id: syntax.scm,v 14.19 1992/11/29 14:22:20 gjr Exp $ +$Id: syntax.scm,v 14.20 1993/02/28 21:03:50 cph Exp $ -Copyright (c) 1988-1992 Massachusetts Institute of Technology +Copyright (c) 1988-93 Massachusetts Institute of Technology This material was developed by the Scheme project at the Massachusetts Institute of Technology, Department of Electrical Engineering and @@ -130,9 +130,6 @@ MIT in each case. |# (make-combination (syntax-expression (car expression)) (syntax-expressions (cdr expression)))))) ((symbol? expression) - (if (syntax-table-ref syntax-table expression) - (error "syntactic keyword referenced as variable" - expression)) (make-variable expression)) (else expression)))