summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index cf26fdf..3a6ab38 100644
--- a/eval.c
+++ b/eval.c
@@ -48,6 +48,9 @@ evalquery(Term *database, Term *query, Binding **resultbindings)
Retry:
goal = goals->goal;
+ if(debug)
+ print("Working goal: %S\n", prettyprint(goal));
+
Binding *bindings = nil;
Term *clause = nil;