solve string exp issue for regexp
authorTianyi Liang <tianyi-liang@uiowa.edu>
Wed, 22 Jan 2014 19:50:39 +0000 (13:50 -0600)
committerTianyi Liang <tianyi-liang@uiowa.edu>
Wed, 22 Jan 2014 19:50:39 +0000 (13:50 -0600)
src/theory/strings/theory_strings_preprocess.cpp

index 757ec56a26804e4ff38c3b096a4e8c811ad2060a..28894083829179f8cdddef3d70b213e21f58f0a5 100644 (file)
@@ -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 ) {