diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-02-11 08:08:57 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-11 08:08:57 -0600 |
commit | b3f05d5c25facaf0c34ee79faed060bda3f61a8d (patch) | |
tree | de3c78c339cc86a62b07dce37537c28339b6513a /src | |
parent | b10e383e5efc92f02c63eaf5eec07479ed385304 (diff) |
Fix spurious assertion failure in regexp normalization (#5852)
Fixes #5816.
Diffstat (limited to 'src')
-rw-r--r-- | src/theory/strings/regexp_solver.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/strings/regexp_solver.cpp b/src/theory/strings/regexp_solver.cpp index 3f419c66d..46570df48 100644 --- a/src/theory/strings/regexp_solver.cpp +++ b/src/theory/strings/regexp_solver.cpp @@ -664,7 +664,8 @@ Node RegExpSolver::getNormalSymRegExp(Node r, std::vector<Node>& nf_exp) switch (r.getKind()) { case REGEXP_EMPTY: - case REGEXP_SIGMA: break; + case REGEXP_SIGMA: + case REGEXP_RANGE: break; case STRING_TO_REGEXP: { if (!r[0].isConst()) |