Skip to content

Commit

Permalink
merge from main
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelballantyne committed Jan 14, 2024
2 parents 24711b4 + ed19274 commit 095aa99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions info.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

(define name "syntax-spec-v1")
(define version "1.0")
(define collection "syntax-spec-v1")
(define deps '("base"
"version-case"
"ee-lib"
Expand Down
2 changes: 2 additions & 0 deletions private/syntax/compile/binding-spec.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@
#`(subexp '#,v #,pass1-expander))]
[(s-cp2 ...) (for/list ([pv pvars])
(match-define (pvar v (nonterm-rep (two-pass-nonterm-info _ pass2-expander))) pv)
;; avoid adding the local-scopes to syntax moved in by first pass expansion
#`(subexp/no-scope '#,v #,pass2-expander))])
#`(group (list s-cp1 ... s-cp2 ...)))]
[(or (s* export) (s* export-syntax) (s* export-syntaxes))
Expand Down Expand Up @@ -565,5 +566,6 @@
[(re-export _ pvars)
(with-syntax ([(s-c ...) (for/list ([pv pvars])
(match-define (pvar v (nonterm-rep (two-pass-nonterm-info _ pass2-expander))) pv)
;; avoid adding the local-scopes to syntax moved in by first pass expansion
#`(subexp/no-scope '#,v #,pass2-expander))])
#`(group (list s-c ...)))]))

0 comments on commit 095aa99

Please sign in to comment.