.
original commit: 1e1ae1a7fe7c465da9c9659a0b41027596422c16
This commit is contained in:
parent
d462a25bd1
commit
bfb0ac0ae6
|
@ -471,7 +471,7 @@
|
||||||
(syntax-case stx ()
|
(syntax-case stx ()
|
||||||
[(_)
|
[(_)
|
||||||
(let* ([f (syntax-source stx)]
|
(let* ([f (syntax-source stx)]
|
||||||
[f (and f (string? f) (file-exists? f)
|
[f (and f (or (path? f) (string? f)) (file-exists? f)
|
||||||
(let-values ([(base file dir?) (split-path f)]) file))])
|
(let-values ([(base file dir?) (split-path f)]) file))])
|
||||||
(datum->syntax-object (quote-syntax here) f stx))]))
|
(datum->syntax-object (quote-syntax here) f stx))]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user