replayParser->useDeclarationsFrom(shell.getParser());
}
while((cmd = shell.readCommand())) {
- status = status && doCommand(smt, cmd);
+ status = doCommand(smt, cmd) && status;
delete cmd;
}
} else {
replayParser->useDeclarationsFrom(parser);
}
while((cmd = parser->nextCommand())) {
- status = status && doCommand(smt, cmd);
+ status = doCommand(smt, cmd) && status;
delete cmd;
}
// Remove the parser
for(CommandSequence::iterator subcmd = seq->begin();
subcmd != seq->end();
++subcmd) {
- status = status && doCommand(smt, *subcmd);
+ status = doCommand(smt, *subcmd) && status;
}
} else {
if(options.verbosity > 0) {