From 5cf9ca030c4fc197bb9bbc91854b9b24fafb8733 Mon Sep 17 00:00:00 2001 From: logicmoo Date: Tue, 27 Aug 2024 00:44:10 -0700 Subject: [PATCH] hopefully less warnings toward #89 --- src/canary/metta_interp.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/canary/metta_interp.pl b/src/canary/metta_interp.pl index 5d5a29f6c59..eab268d7615 100755 --- a/src/canary/metta_interp.pl +++ b/src/canary/metta_interp.pl @@ -54,7 +54,7 @@ :- encoding(utf8). :- set_prolog_flag(encoding, utf8). :- nb_setval(cmt_override,lse('; ',' !(" ',' ") ')). -:- ensure_loaded(swi_support). +:- set_prolog_flag(source_search_working_directory,true). :- set_prolog_flag(backtrace,true). :- set_prolog_flag(backtrace_depth,100). :- set_prolog_flag(backtrace_goal_dept,100). @@ -62,6 +62,7 @@ :- set_prolog_flag(write_attributes,portray). :- set_prolog_flag(debug_on_interrupt,true). :- set_prolog_flag(debug_on_error,true). +:- ensure_loaded(swi_support). %:- set_prolog_flag(compile_meta_arguments,control). :- (prolog_load_context(directory, Value);Value='.'), absolute_file_name('../packs/',Dir,[relative_to(Value)]), atom_concat(Dir,'predicate_streams',PS),