resurrect mescc.
This commit is contained in:
parent
7ff86c393f
commit
c506880a14
10
scm.mes
10
scm.mes
|
@ -160,11 +160,11 @@
|
||||||
(define else #t)
|
(define else #t)
|
||||||
|
|
||||||
(define (error who . rest)
|
(define (error who . rest)
|
||||||
(display "error:")
|
(display "error:" (current-error-port))
|
||||||
(display who)
|
(display who (current-error-port))
|
||||||
(display ":")
|
(display ":" (current-error-port))
|
||||||
(display rest)
|
(display rest (current-error-port))
|
||||||
(display newline))
|
(newline (current-error-port)))
|
||||||
|
|
||||||
(define (syntax-error message . rest)
|
(define (syntax-error message . rest)
|
||||||
(display "syntax-error:" (current-error-port))
|
(display "syntax-error:" (current-error-port))
|
||||||
|
|
10
syntax.mes
10
syntax.mes
|
@ -1,11 +1,11 @@
|
||||||
;; -*-scheme-*-
|
;; -*-scheme-*-
|
||||||
|
|
||||||
(define (syntax-error message thing)
|
(define (syntax-error message thing)
|
||||||
(display "syntax-error:")
|
(display "syntax-error:" (current-error-port))
|
||||||
(display message)
|
(display message (current-error-port))
|
||||||
(display ":")
|
(display ":" (current-error-port))
|
||||||
(display thing)
|
(display thing (current-error-port))
|
||||||
(newline))
|
(newline (current-error-port)))
|
||||||
|
|
||||||
(define (silent-syntax-error message thing)
|
(define (silent-syntax-error message thing)
|
||||||
*unspecified*)
|
*unspecified*)
|
||||||
|
|
Loading…
Reference in a new issue