mirror of
https://github.com/Z3Prover/z3
synced 2025-12-19 02:33:42 +00:00
add macro attribute
This commit is contained in:
parent
54a8d65617
commit
5073959ae0
2 changed files with 3 additions and 0 deletions
|
|
@ -408,6 +408,7 @@ namespace recfun {
|
|||
void promise_def::set_definition(replace& r, bool is_macro, unsigned n_vars, var * const * vars, expr * rhs) {
|
||||
SASSERT(n_vars == d->get_arity());
|
||||
|
||||
d->m_is_macro = is_macro;
|
||||
is_imm_pred is_i(*u);
|
||||
d->compute_cases(*u, r, is_i, is_macro, n_vars, vars, rhs);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue