From 484f2b65dbc55ccda2c6188a55d797791f13ed4f Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Fri, 12 Oct 2018 23:34:15 +0200 Subject: Update sandbox for updated SWI-Prolog --- prolog/runner/sandbox.pl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/prolog/runner/sandbox.pl b/prolog/runner/sandbox.pl index 997a571..d1a2593 100644 --- a/prolog/runner/sandbox.pl +++ b/prolog/runner/sandbox.pl @@ -1,5 +1,11 @@ :- multifile sandbox:safe_primitive/1. +% needed for call_with_inference_limit/3 +sandbox:safe_primitive(system:'$inference_limit'(_,_)). +sandbox:safe_primitive(system:'$inference_limit_except'(_,_,_)). +sandbox:safe_primitive(system:'$inference_limit_false'(_)). +sandbox:safe_primitive(system:'$inference_limit_true'(_,_,_)). + % needed for algol problems % TODO find a better way sandbox:safe_primitive(call(_)). -- cgit v1.2.1