Skip to content

Commit

Permalink
removed support for the old smtlib dialect
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Suda committed Nov 15, 2017
1 parent 3f2656e commit 44240ce
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,7 @@ VS_OBJ = Shell/AnswerExtractor.o\
# Shell/HalfBoundingRemover.o\
# Shell/SubsumptionRemover.o\
PARSE_OBJ = Parse/SMTLIB.o\
Parse/SMTLIB2.o\
PARSE_OBJ = Parse/SMTLIB2.o\
Parse/TPTP.o

DP_OBJ = DP/ShortConflictMetaDP.o\
Expand Down
19 changes: 12 additions & 7 deletions Shell/UIHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include "Kernel/Problem.hpp"
#include "Kernel/FormulaUnit.hpp"

#include "Parse/SMTLIB.hpp"
#include "Parse/SMTLIB2.hpp"
#include "Parse/TPTP.hpp"

Expand Down Expand Up @@ -251,13 +250,19 @@ Problem* UIHelper::getInputProblem(const Options& opts)
}
break;
case Options::InputSyntax::SMTLIB:
{
Parse::SMTLIB parser(opts);
parser.parse(*input);
units = parser.getFormulas();
s_haveConjecture=true;
/* {
Parse::SMTLIB parser(opts);
parser.parse(*input);
units = parser.getFormulas();
s_haveConjecture=true;
}
break; */
if (outputAllowed()) {
env.beginOutput();
addCommentSignForSZS(env.out());
env.out() << "Vampire no longer supports the old smtlib format, trying with smtlib2 instead." << endl;
env.endOutput();
}
break;
case Options::InputSyntax::SMTLIB2:
{
Parse::SMTLIB2 parser(opts);
Expand Down

0 comments on commit 44240ce

Please sign in to comment.