From 68237f7d39a03905be4cc133a42083fc3342adb4 Mon Sep 17 00:00:00 2001 From: Kshitij Bansal Date: Wed, 25 Apr 2012 22:33:00 +0000 Subject: [PATCH] portfolio driver: respect parseOnly option --- src/main/driver_portfolio.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/driver_portfolio.cpp b/src/main/driver_portfolio.cpp index d8a8e5afa..6cf9d0130 100644 --- a/src/main/driver_portfolio.cpp +++ b/src/main/driver_portfolio.cpp @@ -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 -- 2.30.2