mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-09 14:07:34 +02:00
stripping syntactic-closures in syntax-rules error messages
This commit is contained in:
parent
520c660347
commit
6afc9f964d
2 changed files with 3 additions and 1 deletions
3
init.scm
3
init.scm
|
@ -719,7 +719,8 @@
|
|||
(map
|
||||
(lambda (clause) (expand-pattern (car clause) (cadr clause)))
|
||||
forms)
|
||||
(list (list _error "no expansion for" _expr))))))))))
|
||||
(list (list _error "no expansion for"
|
||||
(list (rename 'strip-syntactic-closures) _expr)))))))))))
|
||||
|
||||
(define *config-env* #f)
|
||||
|
||||
|
|
|
@ -101,6 +101,7 @@ _FN1(SEXP_PAIR, "string-concatenate", 0, sexp_string_concatenate),
|
|||
_FN2(0, SEXP_PAIR, "memq", 0, sexp_memq),
|
||||
_FN2(0, SEXP_PAIR, "assq", 0, sexp_assq),
|
||||
_FN3(SEXP_ENV, SEXP_PAIR, "make-syntactic-closure", 0, sexp_make_synclo),
|
||||
_FN1(0, "strip-syntactic-closures", 0, sexp_strip_synclos),
|
||||
_PARAM("current-input-port", (sexp)"*current-input-port*", SEXP_IPORT),
|
||||
_PARAM("current-output-port", (sexp)"*current-output-port*", SEXP_OPORT),
|
||||
_PARAM("current-error-port", (sexp)"*current-error-port*", SEXP_OPORT),
|
||||
|
|
Loading…
Add table
Reference in a new issue