diff options
Diffstat (limited to 'repl.c')
-rw-r--r-- | repl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,7 +13,7 @@ repl(Term *database) int fd = 0; /* Standard input */ while(1){ print("?- "); - Term *query = parse(fd, 1); + Term *query = parse(fd, nil, 1); Binding *bindings = nil; Choicepoint *choicestack = nil; int success; @@ -28,7 +28,7 @@ FindMore: while(bindings){ print(" %S = %S%s", bindings->name, - prettyprint(bindings->value), + prettyprint(bindings->value, 0, 0, 0), bindings->next ? " ,\n" : ""); bindings = bindings->next; } |