Skip to content

Commit

Permalink
fix 1pl's file arguments like $ 1pl foo.pl bar.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
ichiban committed Jul 10, 2023
1 parent 5ad402c commit 3386eb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/1pl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Type Ctrl-C or 'halt.' to exit.
}

// Consult arguments.
if err := i.QuerySolution(`consult(?).`, flag.Args()).Err(); err != nil {
if err := i.QuerySolution(`bagof(F, (member(X, ?), atom_chars(F, X)), Fs), consult(Fs).`, flag.Args()).Err(); err != nil {
log.Panic(err)
}

Expand Down

0 comments on commit 3386eb2

Please sign in to comment.