bool status = true;
for(CommandSequence::iterator subcmd = seq->begin();
- status && subcmd != seq->end();
+ (status || d_options[options::continuedExecution]) && subcmd != seq->end();
++subcmd) {
status = doCommand(*subcmd);
}
replayParser->useDeclarationsFrom(parser);
}
bool needReset = false;
- while(status && (cmd = parser->nextCommand())) {
+ while((status || opts[options::continuedExecution]) && (cmd = parser->nextCommand())) {
if(dynamic_cast<PushCommand*>(cmd) != NULL) {
if(needReset) {
pExecutor->reset();
// have the replay parser use the file's declarations
replayParser->useDeclarationsFrom(parser);
}
- while(status && (cmd = parser->nextCommand())) {
+ while((status || opts[options::continuedExecution]) && (cmd = parser->nextCommand())) {
status = pExecutor->doCommand(cmd);
if(dynamic_cast<QuitCommand*>(cmd) != NULL) {
delete cmd;