The Lambda Lab
/
projects
/
forth.jl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f54a85
)
Removed use of deprecated Pkg.dir.
author
Tim Vaughan
<tgvaughan@gmail.com>
Wed, 5 Sep 2018 13:55:36 +0000
(15:55 +0200)
committer
Tim Vaughan
<tgvaughan@gmail.com>
Wed, 5 Sep 2018 13:55:36 +0000
(15:55 +0200)
src/forth.jl
patch
|
blob
|
history
diff --git
a/src/forth.jl
b/src/forth.jl
index
ead0bbc
..
d80d7e2
100644
(file)
--- a/
src/forth.jl
+++ b/
src/forth.jl
@@
-1270,7
+1270,7
@@
oldCWD = ""
SETLIBCWD_CFA = defPrimWord("SETLIBCWD", () -> begin
global oldCWD = pwd()
if !isfile("lib.4th") # Exception for debugging.
- cd(
Pkg.dir("forth","src"))
+ cd(
@__DIR__) # Macro expands to CWD at compile time
end
return NEXT
end)