aboutsummaryrefslogtreecommitdiff
path: root/src/interp/br-util.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/br-util.boot')
-rw-r--r--src/interp/br-util.boot7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/interp/br-util.boot b/src/interp/br-util.boot
index acc4ed9a..fadc5bf9 100644
--- a/src/interp/br-util.boot
+++ b/src/interp/br-util.boot
@@ -162,11 +162,14 @@ htPred2English(x,:options) ==
bcConform(first l,$emList)
htSay('" has ")
fnAttr CADADR l
- op in '(_has ofCategory) =>
+ op in '(has ofCategory) =>
bcConform(first l,$emList)
htSay('" has ")
[a,b] := l
- b is ['ATTRIBUTE,c] and not constructor? c => fnAttr c
+ b is ['ATTRIBUTE,c] =>
+ symbol? c and not constructor? c => fnAttr c
+ c is [.,:.] and symbol? c.op and not constructor? c.op => fnAttr c
+ bcConform(c,$emList)
bcConform(b, $emList)
bcConform(x,$emList)
fnAttr c ==