mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
fixing problems with the new parameter framework
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
f7528456da
commit
9754ccf8a1
7 changed files with 32 additions and 9 deletions
|
@ -307,7 +307,7 @@ class set_option_cmd : public set_get_option_cmd {
|
|||
try {
|
||||
gparams::set(m_option, value);
|
||||
env_params::updt_params();
|
||||
ctx.params().updt_params();
|
||||
ctx.global_params_updated();
|
||||
}
|
||||
catch (gparams::exception ex) {
|
||||
throw cmd_exception(ex.msg());
|
||||
|
@ -517,7 +517,7 @@ public:
|
|||
}
|
||||
else {
|
||||
try {
|
||||
std::string val = gparams::get_value(opt);
|
||||
ctx.regular_stream() << gparams::get_value(opt) << std::endl;
|
||||
}
|
||||
catch (gparams::exception ex) {
|
||||
ctx.print_unsupported(opt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue