diff --git a/pl/utils.yap b/pl/utils.yap index 83306a5d3..46ff54fec 100644 --- a/pl/utils.yap +++ b/pl/utils.yap @@ -99,7 +99,7 @@ '$check_op_name'(P,T,'|',G) :- ( integer(P), - P < 1001 + P < 1001, P > 0 ; atom_codes(T,[_,_]) ), !,