mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 08:28:44 +00:00
Replace is_null with is_non_empty_string in spacer params
This commit is contained in:
parent
cfe96fe92e
commit
2ec00cb81d
1 changed files with 3 additions and 3 deletions
|
@ -3339,7 +3339,7 @@ bool context::is_reachable(pob &n)
|
||||||
|
|
||||||
void context::dump_json()
|
void context::dump_json()
|
||||||
{
|
{
|
||||||
if (!m_params.spacer_print_json().is_null()) {
|
if (m_params.spacer_print_json().is_non_empty_string()) {
|
||||||
std::ofstream of;
|
std::ofstream of;
|
||||||
of.open(m_params.spacer_print_json().bare_str());
|
of.open(m_params.spacer_print_json().bare_str());
|
||||||
m_json_marshaller.marshal(of);
|
m_json_marshaller.marshal(of);
|
||||||
|
@ -4003,7 +4003,7 @@ void context::add_constraint (expr *c, unsigned level)
|
||||||
}
|
}
|
||||||
|
|
||||||
void context::new_lemma_eh(pred_transformer &pt, lemma *lem) {
|
void context::new_lemma_eh(pred_transformer &pt, lemma *lem) {
|
||||||
if (!m_params.spacer_print_json().is_null())
|
if (m_params.spacer_print_json().is_non_empty_string())
|
||||||
m_json_marshaller.register_lemma(lem);
|
m_json_marshaller.register_lemma(lem);
|
||||||
bool handle=false;
|
bool handle=false;
|
||||||
for (unsigned i = 0; i < m_callbacks.size(); i++) {
|
for (unsigned i = 0; i < m_callbacks.size(); i++) {
|
||||||
|
@ -4027,7 +4027,7 @@ void context::new_lemma_eh(pred_transformer &pt, lemma *lem) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void context::new_pob_eh(pob *p) {
|
void context::new_pob_eh(pob *p) {
|
||||||
if (!m_params.spacer_print_json().is_null())
|
if (m_params.spacer_print_json().is_non_empty_string())
|
||||||
m_json_marshaller.register_pob(p);
|
m_json_marshaller.register_pob(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue