A bunch of fprintf' ->
eprintf' conversions (and a few related things).
original commit: 17090fca4f
This commit is contained in:
parent
d0f469f166
commit
ae29015ee7
|
@ -9,9 +9,6 @@
|
||||||
(define total-stxs (length (prefix-stxs pre)))
|
(define total-stxs (length (prefix-stxs pre)))
|
||||||
(+ syntax-start total-stxs (if (zero? total-stxs) 0 1)))
|
(+ syntax-start total-stxs (if (zero? total-stxs) 0 1)))
|
||||||
|
|
||||||
(define (eprintf . args)
|
|
||||||
(apply fprintf (current-error-port) args))
|
|
||||||
|
|
||||||
(struct nothing ())
|
(struct nothing ())
|
||||||
|
|
||||||
(define-syntax-rule (eprintf* . args) (void))
|
(define-syntax-rule (eprintf* . args) (void))
|
||||||
|
|
|
@ -137,7 +137,7 @@ exec racket -t "$0" -- -s -t 60 -v -R $*
|
||||||
|
|
||||||
(unless (and (not (care-about-nonserious?)) (not serious?))
|
(unless (and (not (care-about-nonserious?)) (not serious?))
|
||||||
(when (or (verbose-mode) (stop-on-first-error))
|
(when (or (verbose-mode) (stop-on-first-error))
|
||||||
(fprintf (current-error-port) "~a -- ~a: ~a\n" p phase exn-msg))
|
(eprintf "~a -- ~a: ~a\n" p phase exn-msg))
|
||||||
(when (stop-on-first-error)
|
(when (stop-on-first-error)
|
||||||
(stop!)))]))
|
(stop!)))]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user