setup/dirs: fix "config.rktd" reader
This commit is contained in:
parent
e7d300d238
commit
52da62a956
|
@ -49,6 +49,13 @@
|
|||
(test #t system* exec-path "-l" "raco" "make" "-j" "2" (path->string relpath))
|
||||
(delete-directory/files tmpdir))
|
||||
|
||||
;; ----------------------------------------
|
||||
;; Make sure that setting the reader doesn't break reading a configuration file:
|
||||
|
||||
(parameterize ([current-namespace (make-base-namespace)]
|
||||
[read-accept-dot #f])
|
||||
((dynamic-require 'setup/dirs 'get-pkgs-search-dirs)))
|
||||
|
||||
;; ----------------------------------------
|
||||
|
||||
(report-errs)
|
||||
|
|
|
@ -24,8 +24,9 @@
|
|||
(call-with-input-file*
|
||||
p
|
||||
(lambda (in)
|
||||
(parameterize ([current-readtable (make-readtable #f)])
|
||||
(read in))))
|
||||
(call-with-default-reading-parameterization
|
||||
(lambda ()
|
||||
(read in)))))
|
||||
#hash()))
|
||||
#hash()))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user