mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
parent
c7a7d40a8f
commit
8e9bc86c23
2 changed files with 35 additions and 12 deletions
|
@ -272,13 +272,15 @@ namespace smt {
|
|||
<< "PA(" << mk_pp(s, m) << "@" << idx
|
||||
<< "," << state_str(r) << ") ";);
|
||||
|
||||
if (re().is_empty(r)) {
|
||||
auto info = re().get_info(r);
|
||||
|
||||
//if the minlength of the regex is UINT_MAX then the regex is a deadend
|
||||
if (re().is_empty(r) || info.min_length == UINT_MAX) {
|
||||
STRACE("seq_regex_brief", tout << "(empty) ";);
|
||||
th.add_axiom(~lit);
|
||||
return;
|
||||
}
|
||||
|
||||
auto info = re().get_info(r);
|
||||
if (info.interpreted) {
|
||||
update_state_graph(r);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue