start to modify scheme's `syntax' binding

This commit is contained in:
Jon Rafkind 2010-05-06 18:42:56 -06:00
parent 2f5593a104
commit 64255032bb
2 changed files with 2 additions and 1 deletions

View File

@ -46,6 +46,7 @@
(honu-macro-item macroItem)
(honu-macro macro)
(honu-syntax syntax)
(scheme-syntax schemeSyntax)
))
#;

View File

@ -225,7 +225,7 @@
(when (and (stx-pair? stx) (equal? 'syntax (syntax->datum (stx-car stx))))
(printf "syntax == honu-syntax? ~a\n" (free-identifier=? (stx-car stx) #'honu-syntax)))
|#
(syntax-parse stx #:literals (honu-syntax #%parens syntax)
(syntax-parse stx #:literals (honu-syntax #%parens scheme-syntax)
[((honu-syntax (#%parens x ...) y ...) rest ...)
(with-syntax ([(y* ...) (fix-output #'(y ... rest ...))])
(syntax/loc stx