diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2010-11-09 21:57:06 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2010-11-09 21:57:06 +0000 |
commit | df5f7fe03fda041429548bcb39abb8916ca2e291 (patch) | |
tree | 46b08f3e35ee9c3d4c551d82f3e7e36582383f39 /src/util/options.cpp | |
parent | 1f07775e9205b3f9e172a1ad218a9015b7265b58 (diff) |
Lemmas on demand work, push-pop, some cleanup.
Diffstat (limited to 'src/util/options.cpp')
-rw-r--r-- | src/util/options.cpp | 9 |
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"); |