enable analysis.

This commit is contained in:
Vítor Santos Costa 2014-08-20 07:56:33 -05:00
parent b7d97bf4f6
commit 5aad8e380b

View File

@ -199,7 +199,6 @@ python_command(Cmd) :-
python_run_command(Cmd). python_run_command(Cmd).
start_python :- start_python :-
use_foreign_library(foreign(python)),
init_python, init_python,
python_main_module(MRef), python_main_module(MRef),
assert(python_mref_cache('__main__', MRef)), assert(python_mref_cache('__main__', MRef)),
@ -222,6 +221,8 @@ add_cwd_to_python :-
python_assign(Name, Exp, '$'(Name)) :- python_assign(Name, Exp, '$'(Name)) :-
python_assign(Name, Exp). python_assign(Name, Exp).
:- initialization( use_foreign_library(foreign(python)), now ).
:- initialization(start_python, now). :- initialization(start_python, now).
:- initialization(add_cwd_to_python). :- initialization(add_cwd_to_python).