mirror of
https://github.com/Z3Prover/z3
synced 2025-06-08 15:13:23 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
ccc170a06e
commit
3ee5c0e7d9
11 changed files with 120 additions and 107 deletions
|
@ -52,7 +52,9 @@ extern "C" {
|
|||
RESET_ERROR_CODE();
|
||||
tactic_cmd * t = mk_c(c)->find_tactic_cmd(symbol(name));
|
||||
if (t == nullptr) {
|
||||
SET_ERROR_CODE(Z3_INVALID_ARG, nullptr);
|
||||
std::stringstream err;
|
||||
err << "unknown tactic " << name;
|
||||
SET_ERROR_CODE(Z3_INVALID_ARG, err.str().c_str());
|
||||
RETURN_Z3(nullptr);
|
||||
}
|
||||
tactic * new_t = t->mk(mk_c(c)->m());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue