mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-02 04:40:29 +02:00
* optargs.scm (#\&): Emit warning about `#&' being deprecated.
This commit is contained in:
parent
76ef92f358
commit
a099f10e49
1 changed files with 3 additions and 0 deletions
|
@ -199,6 +199,9 @@
|
|||
;; "#&optional" instead of "#:optional"
|
||||
|
||||
(read-hash-extend #\& (lambda (c port)
|
||||
(display
|
||||
"WARNING: `#&' is deprecated, use `#:' instead\n"
|
||||
(current-error-port))
|
||||
(case (read port)
|
||||
((optional) #:optional)
|
||||
((key) #:key)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue