give importers the private macros a pub one expands into
Only pub macros crossed, so one built on a private macro expanded in the importer into a call of a C function nothing defines.
This commit is contained in:
@@ -30,7 +30,8 @@
|
||||
;;;
|
||||
;;; A module in a directory of its own finds its imports beside itself,
|
||||
;;; not beside the unit importing it: shelf-app imports shelf/book, and
|
||||
;;; book its siblings page, with `pub', and spine, without.
|
||||
;;; book its siblings page, with `pub', and spine, without. A pub macro
|
||||
;;; of page's expands into a private one, which crosses with it.
|
||||
;;;
|
||||
;;; csi -s check.scm
|
||||
|
||||
@@ -79,7 +80,7 @@
|
||||
(output-of sexc "shelf-app.sex" "-o" "shelf-app" "--" "book.o" "page.o")))
|
||||
|
||||
(test "and the app runs through it"
|
||||
'("pages 2 3")
|
||||
'("pages 2 3" "number 2")
|
||||
(output-of "./shelf-app"))
|
||||
|
||||
(test "the app runs through both"
|
||||
|
||||
Reference in New Issue
Block a user