summaryrefslogtreecommitdiff
path: root/src/util/options.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2010-11-08 23:37:36 +0000
committerMorgan Deters <mdeters@gmail.com>2010-11-08 23:37:36 +0000
commit1f07775e9205b3f9e172a1ad218a9015b7265b58 (patch)
treee3a70b0f547a46cc3b25fc4867124ebb700977f4 /src/util/options.cpp
parent438e4336569f90adcb8c994df54bc410f56cde07 (diff)
command-line flag to disable theory registration, also SMT-LIBv2 compliance (per SMT-LIB mailing list this afternoon)
Diffstat (limited to 'src/util/options.cpp')
-rw-r--r--src/util/options.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/util/options.cpp b/src/util/options.cpp
index 6d3a06b4b..dbfed887d 100644
--- a/src/util/options.cpp
+++ b/src/util/options.cpp
@@ -52,6 +52,7 @@ static const string optionsDescription = "\
--eager-type-checking type check expressions immediately on creation\n\
--no-type-checking never type check expressions\n\
--no-checking disable ALL semantic checks, including type checks \n\
+ --no-theory-registration disable theory reg (not safe for some theories)\n\
--strict-parsing fail on non-conformant inputs (SMT2 only)\n\
--verbose | -v increase verbosity (repeatable)\n\
--quiet | -q decrease verbosity (repeatable)\n\
@@ -103,6 +104,7 @@ enum OptionValue {
SEGV_NOSPIN,
PARSE_ONLY,
NO_CHECKING,
+ NO_THEORY_REGISTRATION,
USE_MMAP,
SHOW_CONFIG,
STRICT_PARSING,
@@ -151,6 +153,7 @@ static struct option cmdlineOptions[] = {
{ "trace" , required_argument, NULL, 't' },
{ "stats" , no_argument , NULL, STATS },
{ "no-checking", no_argument , NULL, NO_CHECKING },
+ { "no-theory-registration", no_argument, NULL, NO_THEORY_REGISTRATION },
{ "show-config", no_argument , NULL, SHOW_CONFIG },
{ "segv-nospin", no_argument , NULL, SEGV_NOSPIN },
{ "help" , no_argument , NULL, 'h' },
@@ -268,6 +271,10 @@ throw(OptionException) {
parseOnly = true;
break;
+ case NO_THEORY_REGISTRATION:
+ theoryRegistration = false;
+ break;
+
case NO_CHECKING:
semanticChecks = false;
typeChecking = false;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback