mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-31 08:23:19 +00:00
Using log_assert() instead of assert()
This commit is contained in:
parent
d86a25f145
commit
7bd2d1064f
52 changed files with 236 additions and 251 deletions
|
@ -327,7 +327,7 @@ static void shell(RTLIL::Design *design)
|
|||
}
|
||||
|
||||
try {
|
||||
assert(design->selection_stack.size() == 1);
|
||||
log_assert(design->selection_stack.size() == 1);
|
||||
Pass::call(design, command);
|
||||
} catch (log_cmd_error_expection) {
|
||||
while (design->selection_stack.size() > 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue