Adapt to latest PrologCafe snapshot
I changed around some of the APIs in PrologCafe to make the use of SymbolTerm safer in a shared environment. Change-Id: I182c8c6fad78598749a75a1b45ad264c500ab5d5
This commit is contained in:
@@ -139,7 +139,7 @@ public class ProjectState {
|
||||
new PushbackReader(new StringReader(rules), Prolog.PUSHBACK_SIZE);
|
||||
JavaObjectTerm streamObject = new JavaObjectTerm(in);
|
||||
if (!env.execute(Prolog.BUILTIN, "consult_stream",
|
||||
SymbolTerm.makeSymbol("rules.pl"), streamObject)) {
|
||||
SymbolTerm.intern("rules.pl"), streamObject)) {
|
||||
throw new CompileException("Cannot consult rules.pl " +
|
||||
getProject().getName() + " " + getConfig().getRevision());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user