mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-25 20:50:31 +02:00
read argument to --depends switch
* module/scripts/jslink.scm: Need to use `read' on --depends switch to pass a pair.
This commit is contained in:
parent
11378b73df
commit
37369c0cb0
1 changed files with 3 additions and 1 deletions
|
@ -53,8 +53,10 @@
|
|||
|
||||
(option '(#\d "depends") #t #f
|
||||
(lambda (opt name arg result)
|
||||
(define (read-from-string s)
|
||||
(call-with-input-string s read))
|
||||
(let ((depends (assoc-ref result 'depends)))
|
||||
(alist-cons 'depends (cons arg depends)
|
||||
(alist-cons 'depends (cons (read-from-string arg) depends)
|
||||
result))))
|
||||
|
||||
(option '("no-boot") #f #f
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue