diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2020-02-28 22:20:18 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-28 22:20:18 -0800 |
commit | 31efb570a9d5811fd88a34d4915d7d08c81d13fa (patch) | |
tree | b3b553c8ce5075b40f0a8645aac28edb69b1c253 /src/theory/strings/solver_state.cpp | |
parent | b0609b2d70220064a44bc99e396bf0d2d5ade531 (diff) |
Add support for str.from_code (#3829)
This commit adds support for `str.from_code`. This is work towards
supporting the new strings standard. The code currently just does an
eager expansion of the operator. The commit also renames `STRING_CODE`
to `STRING_TO_CODE` to better reflect the names of the operators in the
new standard.
Diffstat (limited to 'src/theory/strings/solver_state.cpp')
-rw-r--r-- | src/theory/strings/solver_state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/strings/solver_state.cpp b/src/theory/strings/solver_state.cpp index 422c9e58b..2b903a8da 100644 --- a/src/theory/strings/solver_state.cpp +++ b/src/theory/strings/solver_state.cpp @@ -95,7 +95,7 @@ const context::CDList<Node>& SolverState::getDisequalityList() const void SolverState::eqNotifyNewClass(TNode t) { Kind k = t.getKind(); - if (k == STRING_LENGTH || k == STRING_CODE) + if (k == STRING_LENGTH || k == STRING_TO_CODE) { Node r = d_ee.getRepresentative(t[0]); EqcInfo* ei = getOrMakeEqcInfo(r); |