Skip to content

Commit

Permalink
Handle portal syntax (by ignoring it)
Browse files Browse the repository at this point in the history
  • Loading branch information
samth committed Apr 25, 2023
1 parent 3d12285 commit 0faa6d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion racket/imports.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
(define (handle-raw-require-spec spec lang)
(let loop ([spec spec])
(syntax-case* spec
(for-meta for-syntax for-template for-label just-meta for-space just-space)
(for-meta for-syntax for-template for-label just-meta for-space just-space portal)
symbolic-compare?
[(for-meta _phase specs ...)
(for ([spec (in-syntax #'(specs ...))])
Expand All @@ -88,6 +88,7 @@
[(just-space _space specs ...)
(for ([spec (in-syntax #'(specs ...))])
(loop spec))]
[(portal id content) (void)]
[raw-module-path
(handle-phaseless-spec #'raw-module-path lang)])))

Expand Down

0 comments on commit 0faa6d3

Please sign in to comment.