summaryrefslogtreecommitdiff
path: root/src/theory/strings/regexp_elim.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-03-20 14:07:37 -0500
committerGitHub <noreply@github.com>2020-03-20 14:07:37 -0500
commit964760cf81eb7414a11bbd89ef3a16e8927d6947 (patch)
tree0c574e99433c722e69af6efeeefbe0901010f7b7 /src/theory/strings/regexp_elim.cpp
parentaa44c35f035f1cab03de0c5fe7c0f16b20f44696 (diff)
Split string-specific operators from TheoryStringsRewriter (#3920)
Organization towards theory of sequences. The motivation of this PR is to ensure that string-specific operators in the rewriter are in their own file; thus the use of mkConst<String> / getConst<String> is allowable in rewriter_str.cpp.
Diffstat (limited to 'src/theory/strings/regexp_elim.cpp')
-rw-r--r--src/theory/strings/regexp_elim.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/strings/regexp_elim.cpp b/src/theory/strings/regexp_elim.cpp
index 86995736e..976efad3c 100644
--- a/src/theory/strings/regexp_elim.cpp
+++ b/src/theory/strings/regexp_elim.cpp
@@ -17,7 +17,7 @@
#include "options/strings_options.h"
#include "theory/rewriter.h"
-#include "theory/strings/theory_strings_rewriter.h"
+#include "theory/strings/sequences_rewriter.h"
#include "theory/strings/theory_strings_utils.h"
using namespace CVC4;
@@ -70,7 +70,7 @@ Node RegExpElimination::eliminateConcat(Node atom)
for (unsigned i = 0, size = children.size(); i < size; i++)
{
Node c = children[i];
- Node fl = TheoryStringsRewriter::getFixedLengthForRegexp(c);
+ Node fl = SequencesRewriter::getFixedLengthForRegexp(c);
if (fl.isNull())
{
if (!hasPivotIndex && c.getKind() == REGEXP_STAR
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback