From 6f62423418ec1be8eb353acb971588e2698e8470 Mon Sep 17 00:00:00 2001 From: Aina Niemetz Date: Wed, 30 May 2018 16:28:58 -0700 Subject: [PATCH] Ignore license key in set-info command. (#2021) --- src/smt/smt_engine.cpp | 10 ++++++---- 1 file 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") { -- 2.30.2