Types that can be passed to the rename procedure is only a symbol

This commit is contained in:
Yuichi Nishiwaki 2014-01-11 12:55:34 +09:00
parent 45c49fdec3
commit c66a217e87
1 changed files with 3 additions and 3 deletions

View File

@ -245,9 +245,9 @@
(er-macro-transformer
(lambda (expr r c)
`(,(r 'define-syntax) ,(cadr expr)
,(r '(sc-macro-transformer
(lambda (expr env)
(error "invalid use of auxiliary syntax"))))))))
(,(r 'sc-macro-transformer)
(,(r 'lambda) (expr env)
(,(r 'error) "invalid use of auxiliary syntax")))))))
(define-auxiliary-syntax else)
(define-auxiliary-syntax =>)