summaryrefslogtreecommitdiff
path: root/repl.c
diff options
context:
space:
mode:
authorPeter Mikkelsen <peter@pmikkelsen.com>2021-07-05 16:27:38 +0000
committerPeter Mikkelsen <peter@pmikkelsen.com>2021-07-05 16:27:38 +0000
commit44ab8a339c78bcc3460d44b2f435116f21faa60a (patch)
treefa512c143c5df81c0c333a187b9083cbac9636f6 /repl.c
parent3f26a0f2a1f699e628136ec5be6178b5ab40fc44 (diff)
First step on modules. Still very very rough.
Diffstat (limited to 'repl.c')
-rw-r--r--repl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/repl.c b/repl.c
index bf08164..4269f8e 100644
--- a/repl.c
+++ b/repl.c
@@ -8,7 +8,7 @@
Rune parsefindmore(int);
void
-repl(Term *database)
+repl(void)
{
int fd = 0; /* Standard input */
while(1){
@@ -19,7 +19,7 @@ repl(Term *database)
goalstack = nil; /* should free old choicestack and goalstack */
int success;
FindMore:
- success = evalquery(database, query, &bindings);
+ success = evalquery(query, &bindings);
if(success == 0)
print("false.\n");
else{