fix bug in public directive.
This commit is contained in:
parent
c67cac0a36
commit
b57e809adb
@ -757,7 +757,7 @@ dynamic_predicate(P,Sem) :-
|
|||||||
'$public'([H|L], M) :- !, '$public'(H, M), '$public'(L, M).
|
'$public'([H|L], M) :- !, '$public'(H, M), '$public'(L, M).
|
||||||
'$public'(A//N1, Mod) :- integer(N1), !,
|
'$public'(A//N1, Mod) :- integer(N1), !,
|
||||||
N is N1+2,
|
N is N1+2,
|
||||||
'$public'(A//N, Mod).
|
'$public'(A/N, Mod).
|
||||||
'$public'(A/N, Mod) :- integer(N), atom(A), !,
|
'$public'(A/N, Mod) :- integer(N), atom(A), !,
|
||||||
functor(T,A,N),
|
functor(T,A,N),
|
||||||
'$do_make_public'(T, Mod).
|
'$do_make_public'(T, Mod).
|
||||||
|
Reference in New Issue
Block a user