summaryrefslogtreecommitdiff
path: root/src/theory/strings
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-02-11 08:08:57 -0600
committerGitHub <noreply@github.com>2021-02-11 08:08:57 -0600
commitb3f05d5c25facaf0c34ee79faed060bda3f61a8d (patch)
treede3c78c339cc86a62b07dce37537c28339b6513a /src/theory/strings
parentb10e383e5efc92f02c63eaf5eec07479ed385304 (diff)
Fix spurious assertion failure in regexp normalization (#5852)
Fixes #5816.
Diffstat (limited to 'src/theory/strings')
-rw-r--r--src/theory/strings/regexp_solver.cpp3
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())
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback