summaryrefslogtreecommitdiff
path: root/src/theory/strings/regexp_solver.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2019-07-24 09:32:14 -0500
committerGitHub <noreply@github.com>2019-07-24 09:32:14 -0500
commitafe40162490ac54e1741e80d43496268ae76201d (patch)
tree3eec0ce98cd8dbffb5cb1dc3d0d3a884a158d6bc /src/theory/strings/regexp_solver.cpp
parent5f384849d20c915374c7b189a232c5d811c186ef (diff)
Move string util functions (#3115)
Diffstat (limited to 'src/theory/strings/regexp_solver.cpp')
-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 65d616c3c..49dd1ead6 100644
--- a/src/theory/strings/regexp_solver.cpp
+++ b/src/theory/strings/regexp_solver.cpp
@@ -21,6 +21,7 @@
#include "options/strings_options.h"
#include "theory/strings/theory_strings.h"
#include "theory/strings/theory_strings_rewriter.h"
+#include "theory/strings/theory_strings_utils.h"
#include "theory/theory_model.h"
using namespace std;
@@ -438,7 +439,7 @@ bool RegExpSolver::deriveRegExp(Node x,
{
vec_nodes.push_back(x[i]);
}
- Node left = TheoryStringsRewriter::mkConcat(STRING_CONCAT, vec_nodes);
+ Node left = utils::mkConcat(STRING_CONCAT, vec_nodes);
left = Rewriter::rewrite(left);
conc = NodeManager::currentNM()->mkNode(STRING_IN_REGEXP, left, dc);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback