diff options
author | dos-reis <gdr@axiomatics.org> | 2013-05-15 23:39:33 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2013-05-15 23:39:33 +0000 |
commit | 164c8a240d8df380975521564b65cf381b630313 (patch) | |
tree | 8c4abc0ca0b81ede1636b86ebc8c0b83927b3ced /src/interp | |
parent | 91dd5221505a28465d5407dbcf885cc1688654ea (diff) | |
download | open-axiom-164c8a240d8df380975521564b65cf381b630313.tar.gz |
* interp/compiler.boot (comp2): Leave categories alone.
Diffstat (limited to 'src/interp')
-rw-r--r-- | src/interp/compiler.boot | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/interp/compiler.boot b/src/interp/compiler.boot index 3e951499..25f6f1b0 100644 --- a/src/interp/compiler.boot +++ b/src/interp/compiler.boot @@ -158,12 +158,13 @@ compNoStacking1(x,m,e,$compStack) == nil comp2(x,m,e) == - [y,m',e]:= comp3(x,m,e) or return nil + [y,m',e] := T := comp3(x,m,e) or return nil + T.mode = $Category => T --if cons? y and isDomainForm(y,e) then e := addDomain(x,e) --line commented out to prevent adding derived domain forms m~=m' and isDomainForm(m',e) => [y,m',addDomain(m',e)] --isDomainForm test needed to prevent error while compiling Ring - [y,m',e] + T comp3(x,m,$e) == --returns a Triple or %else nil to signalcan't do' |