diff options
author | dos-reis <gdr@axiomatics.org> | 2011-04-29 09:51:00 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-04-29 09:51:00 +0000 |
commit | 52889faf70db19459d18fd18123635479e7266d1 (patch) | |
tree | dd020d1d4dc6c245bdec5f7b6c2594d4e6f77a18 /src/interp/parse.boot | |
parent | 75b600291e154f55fe8d6d10658980315204ced2 (diff) | |
download | open-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/parse.boot')
-rw-r--r-- | src/interp/parse.boot | 4 |
1 files changed, 2 insertions, 2 deletions
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] |