Update to sygus version 2 (#4372)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Tue, 21 Apr 2020 18:40:02 +0000 (13:40 -0500)
committerGitHub <noreply@github.com>
Tue, 21 Apr 2020 18:40:02 +0000 (13:40 -0500)
src/main/driver_unified.cpp

index 92368148b5a9f21550cd521f2381151fd942dd25..0f440ac3705aee4d7de095010745decef088d319 100644 (file)
@@ -157,9 +157,8 @@ int runCvc4(int argc, char* argv[], Options& opts) {
         opts.setInputLanguage(language::input::LANG_CVC4);
       } else if((len >= 3 && !strcmp(".sy", filename + len - 3))
                 || (len >= 3 && !strcmp(".sl", filename + len - 3))) {
-        opts.setInputLanguage(language::input::LANG_SYGUS);
-        //since there is no sygus output language, set this to SMT lib 2
-        //opts.setOutputLanguage(language::output::LANG_SMTLIB_V2_0);
+        // version 2 sygus is the default
+        opts.setInputLanguage(language::input::LANG_SYGUS_V2);
       }
     }
   }