mirror of
https://github.com/Z3Prover/z3
synced 2025-08-23 03:27:52 +00:00
add missing return
This commit is contained in:
parent
1cb126f3dd
commit
c1a62d346c
2 changed files with 10 additions and 17 deletions
|
@ -882,15 +882,7 @@ public:
|
|||
return false;
|
||||
case OP_SEQ_IN_RE:
|
||||
if (uncnstr(args[0]) && seq.re.is_ground(args[1]) && seq.is_string(args[0]->get_sort())) {
|
||||
#if 0
|
||||
//
|
||||
// requires auxiliary functions
|
||||
// some_string_in_re.
|
||||
// A preliminary implementation exists in sls_seq_plugin.cpp
|
||||
// it should be moved to seq_rewriter and made agnostic to m_chars.
|
||||
// maybe use backtracking for better covereage: when some_string_in_re
|
||||
// fails it doesn't necessarily mean that the regex is empty.
|
||||
//
|
||||
#if 1
|
||||
zstring s1, s2;
|
||||
expr* re = args[1];
|
||||
expr_ref not_re(seq.re.mk_complement(re), m);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue