forked from alex-eg/sex
read the unit tests' sources from a file, the way sexc does
The reader exported parse-all only so the tests could give a source the file name its locations carry; read-from-file gives it one, through the reader's own interface. The pipeline helpers move out of codegen.scm for every suite to use.
This commit is contained in:
@@ -5,8 +5,7 @@
|
||||
;;; is checked here is what the compiler refuses, and that it refuses
|
||||
;;; it with the name of whatever is wrong.
|
||||
;;;
|
||||
;;; `sex->c', `read-source', `fails-with?', `emits?', `reports?'
|
||||
;;; and `in-fn' come from codegen.scm, which run.scm includes first.
|
||||
;;; `in-fn' comes from codegen.scm, which run.scm includes first.
|
||||
|
||||
(import sex-modules)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user