From 52889faf70db19459d18fd18123635479e7266d1 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Fri, 29 Apr 2011 09:51:00 +0000 Subject: * 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. --- src/interp/parse.boot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interp/parse.boot') diff --git a/src/interp/parse.boot b/src/interp/parse.boot index 4cdbeb82..6ab39d19 100644 --- a/src/interp/parse.boot +++ b/src/interp/parse.boot @@ -403,12 +403,12 @@ transCategoryItem x == $transCategoryAssoc:= [[lhs,:rhs],:$transCategoryAssoc] postError ['" Invalid signature: ",x] [op,:argl]:= lhs - extra:= nil + extra := nil if rhs is ["Mapping",:m] then if rest m then extra:= rest m --should only be 'constant' or 'variable' rhs:= first m - [["SIGNATURE",op,[rhs,:SUBLIS($transCategoryAssoc,argl)],:extra]] + [["SIGNATURE",op,[rhs,:applySubst($transCategoryAssoc,argl)],:extra]] [x] -- cgit v1.2.3