3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-27 19:08:49 +00:00

Prevent expressions in partial dfa being freed to early

This commit is contained in:
CEisenhofer 2026-05-26 13:07:38 +02:00
parent c18aa647e1
commit 4cd908345a
5 changed files with 125 additions and 62 deletions

View file

@ -468,6 +468,7 @@ namespace seq {
}
} else if (tok->is_unit()) {
// seq.unit with non-literal character: show the character expression
std::cout << mk_pp(e, m) << std::endl;
expr* ch = to_app(e)->get_arg(0);
if (is_app(ch) && to_app(ch)->get_num_args() == 0)
result += "[" + dot_html_escape(to_app(ch)->get_decl()->get_name().str()) + "]";