syntax/parse: fix Check-Syntax arrows within syntax classes

This commit is contained in:
AlexKnauth 2018-10-22 14:04:26 -04:00 committed by Ryan Culpepper
parent 9372ca1e3d
commit df19625c6c

View File

@ -104,7 +104,8 @@
(let ()
(define the-rhs
(parameterize ((current-syntax-context #'ctx))
(fixup-rhs (syntax-local-eval #'the-rhs-expr)
(fixup-rhs (syntax-local-eval
(syntax-local-introduce #'the-rhs-expr))
(syntax-e #'splicing?)
(syntax->datum #'relsattrs))))
(rhs->parser #'name #'formals #'relsattrs the-rhs (syntax-e #'splicing?) #'ctx)))]))