From e9f5f2ffcc62eee564d37d5776e701bab548a496 Mon Sep 17 00:00:00 2001 From: Peter Mikkelsen Date: Thu, 8 Jul 2021 21:22:06 +0000 Subject: Make the repl bindings and query global so the garbage collector can know about them --- dat.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dat.h') diff --git a/dat.h b/dat.h index 9bbfef0..e085acd 100644 --- a/dat.h +++ b/dat.h @@ -97,4 +97,6 @@ Goal *goalstack; Module *modules; Module *systemmodule; /* The module for the builtins. Everything has access to those */ Module *usermodule; /* The default module for user defined predicates */ -uvlong clausenr; \ No newline at end of file +uvlong clausenr; +Binding *replbindings; /* The bindings used by the repl */ +Term *replquery; /* The currently active repl query */ \ No newline at end of file -- cgit v1.2.3