This commit is contained in:
Victor Shcherb 2013-04-27 17:30:29 +02:00
parent fef667fc0b
commit b1873dde42

View file

@ -150,6 +150,9 @@ public abstract class AbstractPrologCommandPlayer implements CommandPlayer {
Struct list = new Struct(listCmd.toArray(new Term[listCmd.size()]));
Var result = new Var("RESULT"); //$NON-NLS-1$
List<String> files = new ArrayList<String>();
if(prologSystem == null) {
return files;
}
SolveInfo res = prologSystem.solve(new Struct(P_RESOLVE, list, result));
if (res.isSuccess()) {