diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2018-05-30 16:28:58 -0700 |
---|---|---|
committer | Andres Noetzli <andres.noetzli@gmail.com> | 2018-05-30 16:28:58 -0700 |
commit | 6f62423418ec1be8eb353acb971588e2698e8470 (patch) | |
tree | 7766f7ba3b89e55808835dc114838877f4b4cb22 | |
parent | 13a9ee796ab23d69509544a48c55d4fd281a7de0 (diff) |
Ignore license key in set-info command. (#2021)
-rw-r--r-- | src/smt/smt_engine.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp index 86bc66f50..9d10e72be 100644 --- a/src/smt/smt_engine.cpp +++ b/src/smt/smt_engine.cpp @@ -2359,10 +2359,12 @@ 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") { + if (key == "source" + || key == "category" + || key == "difficulty" + || key == "notes" + || key == "license") + { // ignore these return; } else if(key == "name") { |