shithub: pprolog

Download patch

ref: ef55dad27294cc01671d3c7b0f8091968dc72884
parent: c85de58a2047c4858825d03977e490db6168fbe3
author: Peter Mikkelsen <peter@pmikkelsen.com>
date: Thu Jul 22 20:53:09 EDT 2021

Remove debug print from before

--- a/eval.c
+++ b/eval.c
@@ -66,17 +66,7 @@
 					name = prettyprint(goal, 0, 0, 0, nil);
 					arity = 0;
 				}
-				print("Didn't find predicate %S in module %S\n", prettyprint(goal, 0, 0, 0, nil), module->name);
-				Predicate *p;
-				for(p = module->predicates; p != nil; p = p->next)
-					print("Available in %S: %S/%d\n", module->name, p->name, p->arity);
-				Module *sysmod;
-				if(systemmoduleloaded)
-					sysmod = getmodule(L"system");
-				else
-					sysmod = getmodule(L"user");
-				for(p = sysmod->predicates; p != nil; p = p->next)
-					print("Available in %S: %S/%d\n", sysmod->name, p->name, p->arity);
+
 				switch(flagunknown){
 				case UnknownError:
 					procedure = mkatom(name);