original commit: fbacc41da86dc10d1bb4617c561cc71a3e50fea6
This commit is contained in:
Matthew Flatt 2001-10-12 20:05:02 +00:00
parent 25a7b999f8
commit 4bb6161e7e

View File

@ -439,7 +439,10 @@
(let-values ([(base file dir?) (split-path source)])
(cond
[(string? base)
(with-syntax ([base base])
(with-syntax ([base (path->complete-path
base
(or (current-load-relative-directory)
(current-directory)))])
(syntax base))]
[else ; must be (eq? base 'relative)
(local)]))