reader: repair #lang change

Commit d5d8249c12 added too many syntax wrappers on
list forms.
This commit is contained in:
Matthew Flatt 2018-03-07 18:07:37 -07:00
parent d5d8249c12
commit 407c1b49c5
2 changed files with 729 additions and 692 deletions

View File

@ -118,6 +118,11 @@
[(syntax? v) (syntax->datum v)]
[else v])]
[(syntax? v) v]
[(list? v)
(read-to-syntax (for/list ([e (in-list v)])
(read-coerce #t e srcloc))
srcloc
#f)]
[(pair? v)
(read-to-syntax (cons (read-coerce #t (car v) srcloc)
(read-coerce #t (cdr v) srcloc))

File diff suppressed because it is too large Load Diff