mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 09:40:25 +02:00
* Remove #& reader extension.
This commit is contained in:
parent
fc6629a7d5
commit
431e2ac105
2 changed files with 4 additions and 13 deletions
|
@ -1,3 +1,7 @@
|
|||
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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue