From bdba2bf65eb2f68daa1a5e488c4e50f5dac1b312 Mon Sep 17 00:00:00 2001 From: Mathias Preiner Date: Wed, 21 Mar 2018 15:48:57 -0700 Subject: Refactor mkoptions (#1631) This commit refactors code generation for options. It uses a new configuration format for defining options (*.toml) and a new Python script mkoptions.py to generate the source code and option documentation. The option behavior did not change for most of the options, except that for bool --enable-/--disable- long options enable/disable was removed. E.g. --enable-miplib-trick and --disable-miplib-trick got changed to --miplib-trick and --no-miplib-trick. This commit fixes also an issues with set-option/get-option via the SMT2 interface. Before long options were only accessible if the name included the =ARG part. --- test/regress/regress0/arith/miplib2.cvc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/regress/regress0/arith/miplib2.cvc') diff --git a/test/regress/regress0/arith/miplib2.cvc b/test/regress/regress0/arith/miplib2.cvc index 5cd2f545c..ce2e9712e 100644 --- a/test/regress/regress0/arith/miplib2.cvc +++ b/test/regress/regress0/arith/miplib2.cvc @@ -1,4 +1,4 @@ -% COMMAND-LINE: --enable-miplib-trick +% COMMAND-LINE: --miplib-trick % EXPECT: sat tmp1, tmp2, tmp3 : INT; -- cgit v1.2.3