remove unneeded case: only operator definitions should count, not quoting

This commit is contained in:
Markus Triska
2023-06-30 18:03:21 +02:00
parent a3f8ddd24a
commit 42282c6e6e

View File

@@ -213,7 +213,6 @@ needs_bracketing(Value, Op) :-
arity_specifier(Arity, FSpec), arity_specifier(Arity, FSpec),
( Arity =:= 0 ( Arity =:= 0
; EqPrec < FPrec ; EqPrec < FPrec
; F \== '.', '$quoted_token'(F)
; EqPrec =:= FPrec, ; EqPrec =:= FPrec,
member(EqSpec, [fx,xfx,yfx]) member(EqSpec, [fx,xfx,yfx])
). ).