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. .classpath
  2. .gitignore
  3. .mailmap
  4. .project
  5. .settings/
  6. BUILD
  7. LICENSE
  8. LICENSE.EPL
  9. LICENSE.GPL
  10. README.md
  11. WORKSPACE
  12. bazlets.bzl
  13. bin/
  14. examples/
  15. fake_pom_deploy.xml
  16. fake_pom_install.xml
  17. java/
  18. mvn.sh
  19. prolog.bzl
  20. src/
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