}
// allow overloading for synth fun
synth_fun = PARSER_STATE->mkVar(fun, synth_fun_type, ExprManager::VAR_FLAG_NONE, true);
+ // we add a declare function command here
+ // this is the single unmuted command in the sequence generated by this smt2 command
+ seq->addCommand(new DeclareFunctionCommand(fun, synth_fun, synth_fun_type));
PARSER_STATE->pushScope(true);
for(std::vector<std::pair<std::string, CVC4::Type> >::const_iterator i =
sortedVarNames.begin(), iend = sortedVarNames.end(); i != iend;
}
std::vector<DatatypeType> datatypeTypes =
PARSER_STATE->mkMutualDatatypeTypes(datatypes);
- seq->addCommand(new DatatypeDeclarationCommand(datatypeTypes));
+ Command * cdd = new DatatypeDeclarationCommand(datatypeTypes);
+ // we set this command muted since there should only be one success printed
+ cdd->setMuted(true);
+ seq->addCommand(cdd);
if( sorts[0]!=range ){
PARSER_STATE->parseError(std::string("Bad return type in grammar for "
"SyGuS function ") + fun);