diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2017-08-24 14:09:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-24 14:09:43 +0200 |
commit | 54e1e611ec23eaa7e39f5bffcc62c462ba0adeb4 (patch) | |
tree | 91ac124eae5002b3fc3d0955b6b767861518a400 /src/theory | |
parent | 0ff3d2dbf187376c3a9aeeeae8d3f47e4d73c1c9 (diff) | |
parent | 26a2fcf1413a02788dc25745fac87eb610b5a55d (diff) |
Merge pull request #191 from timothy-king/cleanup-regexp
Cleaning up the CVC4::String class.
Diffstat (limited to 'src/theory')
-rw-r--r-- | src/theory/strings/regexp_operation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/strings/regexp_operation.cpp b/src/theory/strings/regexp_operation.cpp index ec788fa78..a98a2a0ef 100644 --- a/src/theory/strings/regexp_operation.cpp +++ b/src/theory/strings/regexp_operation.cpp @@ -1326,14 +1326,14 @@ void RegExpOpr::getCharSet( Node r, std::set<unsigned char> &pcset, SetNodes &pv Node st = Rewriter::rewrite(r[0]); if(st.isConst()) { CVC4::String s = st.getConst< CVC4::String >(); - s.getCharSet( cset ); + cset.insert(s.getVec().begin(), s.getVec().end()); } else if(st.getKind() == kind::VARIABLE) { vset.insert( st ); } else { for(unsigned i=0; i<st.getNumChildren(); i++) { if(st[i].isConst()) { CVC4::String s = st[i].getConst< CVC4::String >(); - s.getCharSet( cset ); + cset.insert(s.getVec().begin(), s.getVec().end()); } else { vset.insert( st[i] ); } |