From: Kshitij Bansal Date: Wed, 25 Apr 2012 22:33:00 +0000 (+0000) Subject: portfolio driver: respect parseOnly option X-Git-Tag: cvc5-1.0.0~8218 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=68237f7d39a03905be4cc133a42083fc3342adb4;p=cvc5.git portfolio driver: respect parseOnly option --- 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