portfolio driver: respect parseOnly option
authorKshitij Bansal <kshitij@cs.nyu.edu>
Wed, 25 Apr 2012 22:33:00 +0000 (22:33 +0000)
committerKshitij Bansal <kshitij@cs.nyu.edu>
Wed, 25 Apr 2012 22:33:00 +0000 (22:33 +0000)
src/main/driver_portfolio.cpp

index d8a8e5afa042abbad22085fa77f579efc7541b75..6cf9d0130b1d74df8e40dd05ce738c50b660a8a5 100644 (file)
@@ -442,6 +442,9 @@ int runCvc4(int argc, char *argv[], Options& options) {
     delete parser;
   }
 
+  if(options.parseOnly)
+    return 0;
+
   exprMgr = NULL;               // don't want to use that variable
                                 // after this point