diff options
author | dos-reis <gdr@axiomatics.org> | 2010-05-07 19:41:44 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2010-05-07 19:41:44 +0000 |
commit | 75e606946370e97837e697e5f5070ddff4627952 (patch) | |
tree | 6a51f09fc2c32104ddb7eb328cc2270045f0b5bc /src/boot/translator.boot | |
parent | c9c4d89aa7cc261a19ac29c7d74a43f1369f1773 (diff) | |
download | open-axiom-75e606946370e97837e697e5f5070ddff4627952.tar.gz |
* configure.ac.pamphlet: Add new option: --enable-int-file-retention.
src/
* lisp/core.lisp.in ($FilesToRetain): New. Export.
* lisp/Makefile.in: Tidy.
* boot/translator.boot (retainFile?): New.
(compileBootHandler): Use it.
Diffstat (limited to 'src/boot/translator.boot')
-rw-r--r-- | src/boot/translator.boot | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/boot/translator.boot b/src/boot/translator.boot index ebedbe56..ff996f23 100644 --- a/src/boot/translator.boot +++ b/src/boot/translator.boot @@ -745,12 +745,20 @@ translateBootFile(progname, options, file) == outFile := getOutputPathname options or defaultBootToLispFile file BOOTTOCL(file, ENOUGH_-NAMESTRING outFile) +retainFile? ext == + Option 'all in $FilesToRetain or Option 'yes in $FilesToRetain => true + Option 'no in $FilesToRetain => false + Option ext in $FilesToRetain + +TRACE retainFile? + compileBootHandler(progname, options, file) == intFile := BOOTTOCL(file, getIntermediateLispFile(file,options)) errorCount() ~= 0 => nil intFile => objFile := compileLispHandler(progname, options, intFile) - DELETE_-FILE intFile + if not retainFile? 'lisp then + DELETE_-FILE intFile objFile nil |