while (p >= s && (*p == '\r' || *p == '\n'))
*(p--) = 0;
log_header("Shell command: %s\n", s);
- system(s);
+ int retCode = system(s);
+ if (retCode != 0)
+ log_cmd_error("Shell command returned error code %d.\n", retCode);
return;
}
for (char *p = strtok_r(s, " \t\r\n", &saveptr); p; p = strtok_r(NULL, " \t\r\n", &saveptr)) {
}
if (cellLabels[cell].first == cellLabels[cell].second)
+ {
if (cellStack.back() == cell)
{
cellStack.pop_back();
sccList.push_back(scc);
log("\n");
}
+ }
}
SccWorker(RTLIL::Design *design, RTLIL::Module *module, bool allCellTypes, int maxDepth) : design(design), module(module), sigmap(module)