mirror of
https://github.com/Z3Prover/z3
synced 2025-06-19 04:13:38 +00:00
fixed bug in using-params combinator in the SMT 2.0 front-end
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
a99b8fe797
commit
b219b875b1
1 changed files with 1 additions and 1 deletions
|
@ -497,7 +497,7 @@ static tactic * mk_using_params(cmd_context & ctx, sexpr * n) {
|
||||||
throw cmd_exception("invalid using-params combinator, keyword expected", c->get_line(), c->get_pos());
|
throw cmd_exception("invalid using-params combinator, keyword expected", c->get_line(), c->get_pos());
|
||||||
if (i == num_children)
|
if (i == num_children)
|
||||||
throw cmd_exception("invalid using-params combinator, parameter value expected", c->get_line(), c->get_pos());
|
throw cmd_exception("invalid using-params combinator, parameter value expected", c->get_line(), c->get_pos());
|
||||||
symbol param_name = c->get_symbol();
|
symbol param_name = symbol(smt2_keyword_to_param(c->get_symbol()).c_str());
|
||||||
c = n->get_child(i);
|
c = n->get_child(i);
|
||||||
i++;
|
i++;
|
||||||
switch (descrs.get_kind(param_name)) {
|
switch (descrs.get_kind(param_name)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue