diff options
author | Gabriel Dos Reis <gdr@axiomatics.org> | 2015-12-29 11:46:24 -0800 |
---|---|---|
committer | Gabriel Dos Reis <gdr@axiomatics.org> | 2015-12-29 11:46:24 -0800 |
commit | cfb8e7754f4aacfb6e67a3973b856f025fff0d11 (patch) | |
tree | 0a82de333648a1f6e5638056e0823038d1d7b11b /src/interp/showimp.boot | |
parent | 0cb4834d923450c2324232954505b52f9e7053f0 (diff) | |
download | open-axiom-cfb8e7754f4aacfb6e67a3973b856f025fff0d11.tar.gz |
Introduce '' for the slot number of the add-chain domain.
Diffstat (limited to 'src/interp/showimp.boot')
-rw-r--r-- | src/interp/showimp.boot | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/interp/showimp.boot b/src/interp/showimp.boot index 78977b06..5d863887 100644 --- a/src/interp/showimp.boot +++ b/src/interp/showimp.boot @@ -33,6 +33,7 @@ import c_-util +import nruncomp namespace BOOT $returnNowhereFromGoGet := false @@ -228,7 +229,7 @@ showAttributes dom == showGoGet dom == numvec := CDDR vectorRef(dom,4) - for i in 6..maxIndex dom | (slot := vectorRef(dom,i)) is ['newGoGet,dol,index,:op] repeat + for i in $NRTbase..maxIndex dom | (slot := vectorRef(dom,i)) is ['newGoGet,dol,index,:op] repeat numOfArgs := arrayRef(numvec,index) whereNumber := arrayRef(numvec,index := index + 1) signumList := @@ -277,7 +278,7 @@ dcSlots con == name := abbreviation? con or con $infovec: local := getInfovec name template := $infovec.0 - for i in 5..maxIndex template repeat + for i in $AddChainIndex..maxIndex template repeat sayBrightlyNT bright i item := template.i item is [n,:op] and integer? n => dcOpLatchPrint(op,n) @@ -469,7 +470,7 @@ dcSize(:options) == lazy := 0 --# of lazy domain slots fun := 0 --# of function slots lazyNodes := 0 --# of nodes needed for lazy domain slots - for i in 5..maxindex repeat + for i in $AddChainIndex..maxindex repeat (item := template.i) isnt [.,:.] => fun := fun + 1 integer? first item => latch := latch + 1 'T => |