summaryrefslogtreecommitdiff
path: root/src/theory/strings
diff options
context:
space:
mode:
authorTianyi Liang <tianyi-liang@uiowa.edu>2014-01-22 13:50:39 -0600
committerTianyi Liang <tianyi-liang@uiowa.edu>2014-01-22 13:50:39 -0600
commit7e445cf997a695ca2726df50e3b2f6d5f4809c95 (patch)
treef7801de58ec88a9c56b8b961b86a18d45a803c2f /src/theory/strings
parent6458cf505ef20a881d62794ea2a16c06f0d67acf (diff)
solve string exp issue for regexp
Diffstat (limited to 'src/theory/strings')
-rw-r--r--src/theory/strings/theory_strings_preprocess.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/theory/strings/theory_strings_preprocess.cpp b/src/theory/strings/theory_strings_preprocess.cpp
index 757ec56a2..288940838 100644
--- a/src/theory/strings/theory_strings_preprocess.cpp
+++ b/src/theory/strings/theory_strings_preprocess.cpp
@@ -119,6 +119,9 @@ int StringsPreprocess::checkFixLenVar( Node t ) {
ret = 2;
}
}
+ if(!options::stringExp()) {
+ ret = 2;
+ }
return ret;
}
Node StringsPreprocess::simplify( Node t, std::vector< Node > &new_nodes ) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback