aboutsummaryrefslogtreecommitdiff
path: root/src/boot/translator.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2009-05-11 03:18:26 +0000
committerdos-reis <gdr@axiomatics.org>2009-05-11 03:18:26 +0000
commitd3eeff8c0c553fd276f475590b2967bf388bdbed (patch)
tree9a10730cad5da6b9513bc67f3180aceb1105bed7 /src/boot/translator.boot
parentc17f22c0fea71fba2e99aad1e7292be1963ae96d (diff)
downloadopen-axiom-d3eeff8c0c553fd276f475590b2967bf388bdbed.tar.gz
* boot/translator.boot: Don't load imported modules when
bootstrapping.
Diffstat (limited to 'src/boot/translator.boot')
-rw-r--r--src/boot/translator.boot3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/boot/translator.boot b/src/boot/translator.boot
index 083c374f..50574ee5 100644
--- a/src/boot/translator.boot
+++ b/src/boot/translator.boot
@@ -427,7 +427,8 @@ translateToplevel(b,export?) ==
:[first translateToplevel(d,true) for d in ds]]
Import(m) =>
- bootImport STRING m
+ if getOptionValue "import" ^= '"skip" then
+ bootImport STRING m
[["IMPORT-MODULE", STRING m]]
ImportSignature(x, sig) =>