summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2001-08-31 09:51:25 +0000
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2001-08-31 09:51:25 +0000
commit431e2ac105b350e920efa9cdfa39e3c07004064b (patch)
tree9b49a747d9c8a6fbb0974bb4471618ecba3b9554
parentfc6629a7d5a9b19a0cdcf07ca08d5df917e11098 (diff)
downloadguile-431e2ac105b350e920efa9cdfa39e3c07004064b.tar.gz
* Remove #& reader extension.
-rw-r--r--ice-9/ChangeLog4
-rw-r--r--ice-9/optargs.scm13
2 files changed, 4 insertions, 13 deletions
diff --git a/ice-9/ChangeLog b/ice-9/ChangeLog
index 69fba4b6c..2294c5d5b 100644
--- a/ice-9/ChangeLog
+++ b/ice-9/ChangeLog
@@ -1,5 +1,9 @@
2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
+ * optargs.scm: Remove #& reader extension.
+
+2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
+
* and-let-star-compat.scm: Deleted.
* Makefile.am: Remove references to and-let-star-compat.scm.
diff --git a/ice-9/optargs.scm b/ice-9/optargs.scm
index a64ca9cd8..b098bc4f9 100644
--- a/ice-9/optargs.scm
+++ b/ice-9/optargs.scm
@@ -200,19 +200,6 @@
accum
(loop (car rest) (cdr rest) accum)))))))
-;; This is a reader extension to support the (deprecated) use of
-;; "#&optional" instead of "#:optional"
-
-(read-hash-extend #\& (lambda (c port)
- (issue-deprecation-warning
- "`#&' is deprecated, use `#:' instead.")
- (case (read port)
- ((optional) #:optional)
- ((key) #:key)
- ((rest) #:rest)
- ((allow-other-keys) #:allow-other-keys)
- (else (error "Bad #& value.")))))
-
;; lambda* args . body
;; lambda extended for optional and keyword arguments