aboutsummaryrefslogtreecommitdiff
path: root/src/boot/translator.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/translator.boot')
-rw-r--r--src/boot/translator.boot10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/boot/translator.boot b/src/boot/translator.boot
index b2b4ed15..2aee7c21 100644
--- a/src/boot/translator.boot
+++ b/src/boot/translator.boot
@@ -539,10 +539,12 @@ bpOutItem()==
$op := nil
bpComma() or bpTrap()
b:=bpPop1()
- EQCAR(b,"+LINE")=> bpPush [ b ]
- b is ["L%T",l,r] and IDENTP l =>
- bpPush [["DEFPARAMETER",l,r]]
- bpPush translateToplevel(b,false)
+ bpPush
+ EQCAR(b,"+LINE")=> [ b ]
+ b is ["L%T",l,r] and IDENTP l =>
+ $InteractiveMode => [["SETQ",l,r]]
+ [["DEFPARAMETER",l,r]]
+ translateToplevel(b,false)
shoeAddbootIfNec s ==
shoeAddStringIfNec('".boot",s)