get rid of create_prolog_flag/2.
This commit is contained in:
parent
9814a3e95b
commit
d554871ffb
@ -8018,13 +8018,6 @@ Create a new YAP Prolog flag. @var{Options} include @code{type(+Type)} and @code
|
|||||||
one of @code{read_only} or @code{read_write} and @var{Type} one of @code{boolean}, @code{integer}, @code{float}, @code{atom}
|
one of @code{read_only} or @code{read_write} and @var{Type} one of @code{boolean}, @code{integer}, @code{float}, @code{atom}
|
||||||
and @code{term} (that is, no type).
|
and @code{term} (that is, no type).
|
||||||
|
|
||||||
@item create_prolog_flag(+@var{Flag},+@var{Value})
|
|
||||||
@findex create_prolog_flag/2
|
|
||||||
@snindex create_prolog_flag/2
|
|
||||||
@cnindex create_prolog_flag/2
|
|
||||||
|
|
||||||
Create a new YAP Prolog flag @var{Flag}. The flag is @code{read_write} and of type @code{term} (that is, no type).
|
|
||||||
|
|
||||||
@item op(+@var{P},+@var{T},+@var{A}) [ISO]
|
@item op(+@var{P},+@var{T},+@var{A}) [ISO]
|
||||||
@findex op/3
|
@findex op/3
|
||||||
@syindex op/3
|
@syindex op/3
|
||||||
|
@ -1074,9 +1074,6 @@ source_mode(Old,New) :-
|
|||||||
source :- '$set_yap_flags'(11,1).
|
source :- '$set_yap_flags'(11,1).
|
||||||
no_source :- '$set_yap_flags'(11,0).
|
no_source :- '$set_yap_flags'(11,0).
|
||||||
|
|
||||||
create_prolog_flag(Name, Value) :-
|
|
||||||
create_prolog_flag(Name, Value, []).
|
|
||||||
|
|
||||||
create_prolog_flag(Name, Value, Options) :-
|
create_prolog_flag(Name, Value, Options) :-
|
||||||
'$check_flag_name'(Name, create_prolog_flag(Name, Value, Options)),
|
'$check_flag_name'(Name, create_prolog_flag(Name, Value, Options)),
|
||||||
'$check_flag_options'(Options, Domain, RW, create_prolog_flag(Name, Value, Options)),
|
'$check_flag_options'(Options, Domain, RW, create_prolog_flag(Name, Value, Options)),
|
||||||
|
Reference in New Issue
Block a user