Fix unbound variable bug in $consult/1

When using consult([x1,x2]) or (consult(x1),consult(x2)),
x1's clauses are erased before x2 is consulted.
The problem is due to the wrong unbound local variable File,
introduced in change Id9163384e960f9c39cd9e0169b25b9cf0b9e95a2.

Change-Id: Iac5229f68292f08c5b1fc2aa0f6df702b4e6dd6d
1 file changed
tree: 6447bd80d57480fe2e590ee0da54064017a9b512
  1. .settings/
  2. bin/
  3. examples/
  4. java/
  5. src/
  6. .classpath
  7. .gitignore
  8. .mailmap
  9. .project
  10. bazlets.bzl
  11. BUILD
  12. fake_pom_deploy.xml
  13. fake_pom_install.xml
  14. LICENSE
  15. LICENSE.EPL
  16. LICENSE.GPL
  17. mvn.sh
  18. prolog.bzl
  19. README.md
  20. WORKSPACE
README.md

Prolog Cafe

A fork of Mutsunori BANBARA‘s PrologCafe to support Gerrit Code Review’s customizable project rules.

Build

To bootstrap Bazel and SWI-Prolog >= 6.6.4 must be installed and then build the runtime and compiler with:

bazel build :all

To package for Maven into the local ~/.m2/repository directory:

./mvn.sh install

To publish to the gerrit-maven storage bucket:

./mvn.sh deploy