user defined directives are multiple.
This commit is contained in:
parent
6975c60645
commit
2d330f3bee
@ -67,6 +67,8 @@
|
|||||||
'$all_directives'(G) :- !,
|
'$all_directives'(G) :- !,
|
||||||
'$directive'(G).
|
'$directive'(G).
|
||||||
|
|
||||||
|
:- multifile '$directive'/1.
|
||||||
|
|
||||||
'$directive'(block(_)).
|
'$directive'(block(_)).
|
||||||
'$directive'(char_conversion(_,_)).
|
'$directive'(char_conversion(_,_)).
|
||||||
'$directive'(compile(_)).
|
'$directive'(compile(_)).
|
||||||
@ -132,6 +134,8 @@ considered.
|
|||||||
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
:- multifile '$exec_directive'/5.
|
||||||
|
|
||||||
'$exec_directive'(initialization(D), _, M, _, _) :-
|
'$exec_directive'(initialization(D), _, M, _, _) :-
|
||||||
'$initialization'(M:D).
|
'$initialization'(M:D).
|
||||||
'$exec_directive'(initialization(D,OPT), _, M, _, _) :-
|
'$exec_directive'(initialization(D,OPT), _, M, _, _) :-
|
||||||
|
Reference in New Issue
Block a user