// assume no error
bool status = true;
- for(CommandSequence::iterator subcmd = seq->begin();
- (status || d_options.getContinuedExecution()) && subcmd != seq->end();
- ++subcmd) {
+ for (CommandSequence::iterator subcmd = seq->begin();
+ status && subcmd != seq->end();
+ ++subcmd)
+ {
status = doCommand(*subcmd);
}
}
for (const auto& getterCommand : getterCommands) {
status = doCommandSingleton(getterCommand.get());
- if (!status && !d_options.getContinuedExecution()) {
+ if (!status)
+ {
break;
}
}
int needReset = 0;
// true if one of the commands was interrupted
bool interrupted = false;
- while (status || opts.getContinuedExecution()) {
+ while (status)
+ {
if (interrupted) {
(*opts.getOut()) << CommandInterrupted();
break;
replayParser->useDeclarationsFrom(parser.get());
}
bool interrupted = false;
- while(status || opts.getContinuedExecution()) {
+ while (status)
+ {
if (interrupted) {
(*opts.getOut()) << CommandInterrupted();
pExecutor->reset();
"incremental-parallel",
"no-incremental-parallel",
"no-interactive-prompt",
- "continued-execution",
"immediate-exit",
"segv-spin",
"no-segv-spin",
read_only = true
help = "interactive prompting while in interactive mode"
-[[option]]
- name = "continuedExecution"
- category = "regular"
- long = "continued-execution"
- type = "bool"
- default = "false"
- links = ["--interactive", "--no-interactive-prompt"]
- read_only = true
- help = "continue executing commands, even on error"
-
[[option]]
name = "segvSpin"
category = "regular"
InstFormatMode getInstFormatMode() const;
OutputLanguage getOutputLanguage() const;
bool getCheckProofs() const;
- bool getContinuedExecution() const;
bool getDumpInstantiations() const;
bool getDumpModels() const;
bool getDumpProofs() const;
return (*this)[options::checkProofs];
}
-bool Options::getContinuedExecution() const{
- return (*this)[options::continuedExecution];
-}
-
bool Options::getDumpInstantiations() const{
return (*this)[options::dumpInstantiations];
}
}
return SExpr(stats);
} else if(key == "error-behavior") {
- // immediate-exit | continued-execution
- if( options::continuedExecution() || options::interactive() ) {
- return SExpr(SExpr::Keyword("continued-execution"));
- } else {
- return SExpr(SExpr::Keyword("immediate-exit"));
- }
+ return SExpr(SExpr::Keyword("immediate-exit"));
} else if(key == "name") {
return SExpr(Configuration::getName());
} else if(key == "version") {