aboutsummaryrefslogtreecommitdiff
path: root/src/interp/compiler.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-05-03 22:14:29 +0000
committerdos-reis <gdr@axiomatics.org>2010-05-03 22:14:29 +0000
commitf80c3bdc59b97891016df6fe6ddb4d54f2178c77 (patch)
tree10f15b3c04ac2bc15595ef2730760309404f0019 /src/interp/compiler.boot
parent6c0cc18deacadb592fe3d68c5585979f6902cd1a (diff)
downloadopen-axiom-f80c3bdc59b97891016df6fe6ddb4d54f2178c77.tar.gz
* interp/compiler.boot (setqSingle): Tidy.
Diffstat (limited to 'src/interp/compiler.boot')
-rw-r--r--src/interp/compiler.boot11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/interp/compiler.boot b/src/interp/compiler.boot
index 3837ea58..c2f23769 100644
--- a/src/interp/compiler.boot
+++ b/src/interp/compiler.boot
@@ -838,12 +838,11 @@ setqSingle(id,val,m,E) ==
e':= augModemapsFromDomain1(id,val,e')
--all we do now is to allocate a slot number for lhs
--e.g. the %LET form below will be changed by putInLocalDomainReferences
- if k := NRTassocIndex(id) then
- form := ["setShellEntry","$",k,x]
- else form:=
- $QuickLet => ["%LET",id,x]
- ["%LET",id,x,
- (isDomainForm(x,e') => ['ELT,id,0];first outputComp(id,e'))]
+ form :=
+ k := NRTassocIndex(id) => ["setShellEntry","$",k,x]
+ $QuickLet => ["%LET",id,x]
+ ["%LET",id,x,
+ (isDomainForm(x,e') => ['ELT,id,0];first outputComp(id,e'))]
[form,m',e']
assignError(val,m',form,m) ==