make sure autoload is seen as dynamic by the system.

This commit is contained in:
Vitor Santos Costa 2010-05-11 13:57:52 +01:00
parent be2a3a635e
commit 33c2828b7f
2 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,6 @@ yap_flag(V,Out) :-
yap_flag(fast,on) :- set_value('$fast',true).
yap_flag(fast,off) :- !, set_value('$fast',[]).
:- dynamic autolader:autoload/0.
% do or do not machine code
yap_flag(autoload,V) :-
var(V), !,

View File

@ -159,6 +159,8 @@ yap_hacks:cut_by(CP) :- '$$cut_by'(CP).
%
:- ( recorded('$loaded','$loaded'(_,_,_),R), erase(R), fail ; true ).
:- dynamic autoloader:autoload/0.
:- set_value('$user_module',user), '$protect'.
:- style_check([]).