mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 01:30:27 +02:00
*** empty log message ***
This commit is contained in:
parent
f21dfea659
commit
24aa2715f6
4 changed files with 24 additions and 25 deletions
|
@ -171,10 +171,9 @@ List/show/set options."
|
|||
(repl-option-set! repl key val)
|
||||
(case key
|
||||
((trace)
|
||||
(let ((opts (repl-option-ref repl 'trace-options)))
|
||||
(if val
|
||||
(apply vm-trace-on repl.env.vm opts)
|
||||
(vm-trace-off repl.env.vm))))))))
|
||||
(if val
|
||||
(apply vm-trace-on repl.env.vm val)
|
||||
(vm-trace-off repl.env.vm)))))))
|
||||
|
||||
(define (quit repl)
|
||||
"quit
|
||||
|
|
|
@ -35,8 +35,7 @@
|
|||
(define-vm-class <repl> () env options tm-stats gc-stats vm-stats)
|
||||
|
||||
(define repl-default-options
|
||||
'((trace . #f)
|
||||
(trace-options . (:s))))
|
||||
'((trace . #f)))
|
||||
|
||||
(define-public (make-repl lang)
|
||||
(let ((cenv (make-cenv :vm (the-vm)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue