aboutsummaryrefslogtreecommitdiff
path: root/src/interp/g-util.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-04-29 09:51:00 +0000
committerdos-reis <gdr@axiomatics.org>2011-04-29 09:51:00 +0000
commit52889faf70db19459d18fd18123635479e7266d1 (patch)
treedd020d1d4dc6c245bdec5f7b6c2594d4e6f77a18 /src/interp/g-util.boot
parent75b600291e154f55fe8d6d10658980315204ced2 (diff)
downloadopen-axiom-52889faf70db19459d18fd18123635479e7266d1.tar.gz
* boot/utility.boot (assocSymbol): New.
(applySubst): Likewise. Export. * boot/ast.boot: Use it. Remove SUBLIS and SUBLISLIS. * interp/ax.boot: Likewise. * interp/br-con.boot: Likewise. * interp/br-op1.boot: Likewise. * interp/br-op2.boot: Likewise. * interp/br-prof.boot: Likewise. * interp/br-saturn.boot: Likewise. * interp/buildom.boot: Likewise. * interp/c-doc.boot: Likewise. * interp/c-util.boot: Likewise. * interp/cattable.boot: Likewise. * interp/compiler.boot: Likewise.
Diffstat (limited to 'src/interp/g-util.boot')
-rw-r--r--src/interp/g-util.boot3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interp/g-util.boot b/src/interp/g-util.boot
index 6f04fea8..47522a3b 100644
--- a/src/interp/g-util.boot
+++ b/src/interp/g-util.boot
@@ -292,7 +292,8 @@ addIntSymTabBinding(var,proplist,e is [[curContour,:.],:.]) ==
putMacro(lhs,rhs,e) ==
atom lhs => put(lhs,'macro,rhs,e)
parms := [gensym() for p in lhs.args]
- put(lhs.op,'macro,['%mlambda,parms,SUBLISLIS(parms,lhs.args,rhs)],e)
+ put(lhs.op,'macro,
+ ['%mlambda,parms,applySubst(pairList(lhs.args,parms),rhs)],e)
--% Syntax manipulation