aboutsummaryrefslogtreecommitdiff
path: root/src/interp/g-util.boot
diff options
context:
space:
mode:
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