summaryrefslogtreecommitdiff
path: root/src/util/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/options.cpp')
-rw-r--r--src/util/options.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/util/options.cpp b/src/util/options.cpp
index dbfed887d..8f26d9376 100644
--- a/src/util/options.cpp
+++ b/src/util/options.cpp
@@ -66,7 +66,8 @@ static const string optionsDescription = "\
--no-interactive do not run interactively\n\
--produce-models support the get-value command\n\
--produce-assignments support the get-assignment command\n\
- --lazy-definition-expansion expand define-fun lazily\n";
+ --lazy-definition-expansion expand define-fun lazily\n\
+ --incremental enable incremental solving\n";
static const string languageDescription = "\
Languages currently supported as arguments to the -L / --lang option:\n\
@@ -119,6 +120,7 @@ enum OptionValue {
NO_TYPE_CHECKING,
LAZY_TYPE_CHECKING,
EAGER_TYPE_CHECKING,
+ INCREMENTAL
};/* enum OptionValue */
/**
@@ -174,6 +176,7 @@ static struct option cmdlineOptions[] = {
{ "no-type-checking", no_argument, NULL, NO_TYPE_CHECKING},
{ "lazy-type-checking", no_argument, NULL, LAZY_TYPE_CHECKING},
{ "eager-type-checking", no_argument, NULL, EAGER_TYPE_CHECKING},
+ { "incremental", no_argument, NULL, INCREMENTAL},
{ NULL , no_argument , NULL, '\0' }
};/* if you add things to the above, please remember to update usage.h! */
@@ -367,6 +370,10 @@ throw(OptionException) {
earlyTypeChecking = true;
break;
+ case INCREMENTAL:
+ incrementalSolving = true;
+ break;
+
case SHOW_CONFIG:
fputs(Configuration::about().c_str(), stdout);
printf("\n");
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback