mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-26 18:45:34 +00:00
Reinstate #4768
Revert the reversion so that we can fix the bugs that the PR missed.
This commit is contained in:
parent
bf386feba7
commit
cd3b914132
38 changed files with 700 additions and 263 deletions
|
@ -237,7 +237,7 @@ Use ``log_cmd_error()`` to report a recoverable error:
|
|||
|
||||
.. code:: C++
|
||||
|
||||
if (design->selection_stack.back().empty())
|
||||
if (design->selection().empty())
|
||||
log_cmd_error("This command can't operator on an empty selection!\n");
|
||||
|
||||
Use ``log_assert()`` and ``log_abort()`` instead of ``assert()`` and ``abort()``.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue