projects
/
rrq
/
newlisp
/
packnl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
847374b
)
fix load override to admit cotext argument
author
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Thu, 13 Apr 2023 10:18:39 +0000
(20:18 +1000)
committer
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Thu, 13 Apr 2023 10:18:39 +0000
(20:18 +1000)
incore.lsp
patch
|
blob
|
history
diff --git
a/incore.lsp
b/incore.lsp
index 5d0bef576c71e0932f4d69c6c244bea58b24b879..5cd646b19c4890418daf6e3d92f1a9b9ee8becce 100644
(file)
--- a/
incore.lsp
+++ b/
incore.lsp
@@
-67,10
+67,10
@@
(constant
'load
- (letex (
LOAD load
)
+ (letex (
(LOAD load) (CTX '(or (and (1 (args)) (args 1)) MAIN))
)
(fn () (if (archives (args 0))
- (eval-string (archive:get $it (args 0))
MAIN
)
- (LOAD (args 0)))))
+ (eval-string (archive:get $it (args 0))
CTX
)
+ (LOAD (args 0)
CTX
))))
'read-file
(letex (READ-FILE read-file)
(fn ()