forked from alex-eg/sex
export only what another module imports
set-working-directory is reached only through with-directory's expansion, so it is exported as that macro's helper; form-location, form-type, register-macro and get-macro had no importer.
This commit is contained in:
@@ -7,10 +7,8 @@
|
|||||||
(chicken string))
|
(chicken string))
|
||||||
|
|
||||||
(export
|
(export
|
||||||
register-macro
|
|
||||||
cat
|
cat
|
||||||
comment
|
comment
|
||||||
get-macro
|
|
||||||
macro?
|
macro?
|
||||||
apply-macro
|
apply-macro
|
||||||
defmacro)
|
defmacro)
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
(export
|
(export
|
||||||
get-env-var
|
get-env-var
|
||||||
set-working-directory
|
|
||||||
to-absolute-pathname
|
to-absolute-pathname
|
||||||
comment-form?
|
comment-form?
|
||||||
strip-header-comments
|
strip-header-comments
|
||||||
@@ -25,12 +24,10 @@
|
|||||||
form-end-line
|
form-end-line
|
||||||
copy-form-source!
|
copy-form-source!
|
||||||
stamp-form-source!
|
stamp-form-source!
|
||||||
form-location
|
|
||||||
set-form-type!
|
set-form-type!
|
||||||
form-type
|
|
||||||
sex-error
|
sex-error
|
||||||
sex-warning
|
sex-warning
|
||||||
with-directory)
|
(with-directory set-working-directory))
|
||||||
|
|
||||||
(define-syntax prog1
|
(define-syntax prog1
|
||||||
(syntax-rules ()
|
(syntax-rules ()
|
||||||
|
|||||||
Reference in New Issue
Block a user