diff options
author | dos-reis <gdr@axiomatics.org> | 2009-04-23 19:27:51 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2009-04-23 19:27:51 +0000 |
commit | 2f1248f84e09ddbb48e5ef0700ee61463da0be41 (patch) | |
tree | 06336eff7d07b785481765f6bf48667f67df9184 /src/interp/define.boot | |
parent | 007980660ba03555922525f9f7ee5b0f59ef41b1 (diff) | |
download | open-axiom-2f1248f84e09ddbb48e5ef0700ee61463da0be41.tar.gz |
* algebra/strap/TSETCAT.lsp: Remove.
* algebra/strap/TSETCAT-.lsp: Likewise.
Diffstat (limited to 'src/interp/define.boot')
-rw-r--r-- | src/interp/define.boot | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/interp/define.boot b/src/interp/define.boot index 70ce8656..d0a14673 100644 --- a/src/interp/define.boot +++ b/src/interp/define.boot @@ -461,7 +461,9 @@ compDefineCategory2(form,signature,specialCases,body,m,e, $form: local := nil $op: local := nil $extraParms: local := nil - --Set in DomainSubstitutionFunction, used further down + -- Remember the body for checking the current instantiation. + $currentCategoryBody : local := body + --Set in DomainSubstitutionFunction, used further down -- 1.1 augment e to add declaration $: <form> [$op,:argl] := $definition e:= addBinding("$",[['mode,:$definition]],e) @@ -478,7 +480,7 @@ compDefineCategory2(form,signature,specialCases,body,m,e, $functorForm:= $form:= [$op,:sargl] $formalArgList:= [:sargl,:$formalArgList] aList:= [[a,:sa] for a in argl for sa in sargl] - $currentCategoryBody : local := formalBody:= SUBLIS(aList,body) + formalBody:= SUBLIS(aList,body) signature' := SUBLIS(aList,signature') --Begin lines for category default definitions $functionStats: local:= [0,0] |