aboutsummaryrefslogtreecommitdiff
path: root/src/interp/nrunopt.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-06-04 04:09:59 +0000
committerdos-reis <gdr@axiomatics.org>2010-06-04 04:09:59 +0000
commit063d1ff23831ed4d081e1edbee9c5eb2cfa4d051 (patch)
tree176e41d9301c3692651c61abc1f454edecece7dd /src/interp/nrunopt.boot
parent2504b96ac76f31c60ab32979509e6f3b4b7a8b10 (diff)
downloadopen-axiom-063d1ff23831ed4d081e1edbee9c5eb2cfa4d051.tar.gz
* interp/br-con.boot: More cleanup.
* interp/br-op1.boot: Likewise. * interp/br-saturn.boot: Likewise. * interp/c-util.boot: Likewise. * interp/category.boot: Likewise. * interp/clam.boot: Likewise. * interp/database.boot: Likewise. * interp/functor.boot: Likewise. * interp/g-cndata.boot: Likewise. * interp/g-util.boot: Likewise. * interp/guess.boot: Likewise. * interp/i-coerce.boot: Likewise. * interp/i-funsel.boot: Likewise. * interp/i-intern.boot: Likewise. * interp/i-syscmd.boot: Likewise. * interp/interop.boot: Likewise. * interp/newfort.boot: Likewise. * interp/nruncomp.boot: Likewise. * interp/nrunfast.boot: Likewise. * interp/nrunopt.boot: Likewise. * interp/setvars.boot: Likewise. * interp/slam.boot: Likewise. * interp/topics.boot: Likewise.
Diffstat (limited to 'src/interp/nrunopt.boot')
-rw-r--r--src/interp/nrunopt.boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interp/nrunopt.boot b/src/interp/nrunopt.boot
index a18db852..3d93d870 100644
--- a/src/interp/nrunopt.boot
+++ b/src/interp/nrunopt.boot
@@ -302,7 +302,7 @@ removeAttributePredicates pl ==
transHasCode x ==
atom x => x
- op := QCAR x
+ op := x.op
op in '(HasCategory HasAttribute) => x
op="has" => compHasFormat x
[transHasCode y for y in x]
@@ -330,7 +330,7 @@ orderByContainment pl ==
buildBitTable(:l) == fn(reverse l,0) where fn(l,n) ==
null l => n
n := n + n
- if QCAR l then n := n + 1
+ if first l then n := n + 1
fn(rest l,n)
buildPredVector(init,n,l) == fn(init,2 ** n,l) where fn(acc,n,l) ==