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. BUILD
  11. LICENSE
  12. LICENSE.EPL
  13. LICENSE.GPL
  14. README.md
  15. WORKSPACE
  16. bazlets.bzl
  17. fake_pom_deploy.xml
  18. fake_pom_install.xml
  19. mvn.sh
  20. prolog.bzl
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