diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2018-08-23 10:10:48 -0700 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-08-23 12:10:48 -0500 |
commit | f522d1e63e581cadeb987987ba3e3b0bd88f2e08 (patch) | |
tree | 4b6e5ba6cbc79f712cb60b6eb66cbba6b8f4edcb /src/smt | |
parent | ac7db6796f2255678d3b2e2e87940211f162223e (diff) |
Use "filename" instead of "name" in SmtEngine::setInfo() (#2361)
Diffstat (limited to 'src/smt')
-rw-r--r-- | src/smt/smt_engine.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp index 33ca6eb3d..5e7d52676 100644 --- a/src/smt/smt_engine.cpp +++ b/src/smt/smt_engine.cpp @@ -2308,15 +2308,14 @@ void SmtEngine::setInfo(const std::string& key, const CVC4::SExpr& value) } // Check for standard info keys (SMT-LIB v1, SMT-LIB v2, ...) - if (key == "source" - || key == "category" - || key == "difficulty" - || key == "notes" - || key == "license") + if (key == "source" || key == "category" || key == "difficulty" + || key == "notes" || key == "name" || key == "license") { // ignore these return; - } else if(key == "name") { + } + else if (key == "filename") + { d_filename = value.getValue(); return; } |