aboutsummaryrefslogtreecommitdiff
path: root/src/interp/nrunopt.boot
diff options
context:
space:
mode:
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) ==