Remove debugging output.
This commit is contained in:
parent
5b001c5720
commit
45388f2c12
|
@ -1,6 +1,4 @@
|
|||
;;; This file is part of scsh.
|
||||
;;; Copyright (c) 2002 by Martin Gasbichler and Richard Kelsey.
|
||||
;;; See file COPYING.
|
||||
|
||||
(define (return-from-vm n)
|
||||
(with-continuation (if #t #f) (lambda () n)))
|
||||
|
@ -29,20 +27,20 @@
|
|||
(lambda (k)
|
||||
(with-handler
|
||||
(lambda (cond more)
|
||||
(display "error is "(current-error-port))
|
||||
(display cond (current-error-port))
|
||||
(newline (current-error-port))
|
||||
; (display "error is "(current-error-port))
|
||||
; (display cond (current-error-port))
|
||||
; (newline (current-error-port))
|
||||
(k cond))
|
||||
(lambda ()
|
||||
(eval s-exp (user-command-environment)))))))
|
||||
(lambda args
|
||||
(cond ((null? args)
|
||||
(display "null as result"
|
||||
(current-error-port)))
|
||||
; (display "null as result"
|
||||
; (current-error-port)))
|
||||
((null? (cdr args))
|
||||
(display "evaluated to:" (current-error-port))
|
||||
(display (car args)(current-error-port))
|
||||
(newline (current-error-port))
|
||||
; (display "evaluated to:" (current-error-port))
|
||||
; (display (car args)(current-error-port))
|
||||
; (newline (current-error-port))
|
||||
(car args))
|
||||
(else
|
||||
(display "multiple return values in s48-command"
|
||||
|
@ -51,6 +49,9 @@
|
|||
(display "s48-command got not exactly one s-exp"
|
||||
(current-error-port)))))
|
||||
|
||||
;; TODO write a procedure to be called time by time to let the
|
||||
;; administrative threads run
|
||||
|
||||
;; must be called from a running command processor
|
||||
(define (dump-libscsh-image filename)
|
||||
(dump-scsh-program (startup (user-context)) filename))
|
||||
|
|
Loading…
Reference in New Issue