mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-29 14:30:34 +02:00
fix embarrassing bugs in (ice-9 command-line)
* module/ice-9/command-line.scm (compile-shell-switches): Whoops, fix a few cases that forgot to loop back to the beginning.
This commit is contained in:
parent
e07f0a5566
commit
90779ad9a1
1 changed files with 6 additions and 3 deletions
|
@ -292,13 +292,16 @@ If FILE begins with `-' the -s switch is mandatory.
|
|||
;; Do auto-compile on/off now, because the form itself might
|
||||
;; need this decision.
|
||||
((string=? arg "--auto-compile")
|
||||
(set! %load-should-auto-compile #t))
|
||||
(set! %load-should-auto-compile #t)
|
||||
(parse args out))
|
||||
|
||||
((string=? arg "--no-auto-compile")
|
||||
(set! %load-should-auto-compile #f))
|
||||
(set! %load-should-auto-compile #f)
|
||||
(parse args out))
|
||||
|
||||
((string=? arg "-q") ; don't load user init
|
||||
(set! inhibit-user-init? #t))
|
||||
(set! inhibit-user-init? #t)
|
||||
(parse args out))
|
||||
|
||||
((string-prefix? "--use-srfi=" arg)
|
||||
(let ((srfis (map (lambda (x)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue