3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-26 10:35:38 +00:00

Merge pull request #4768 from YosysHQ/krys/refactor_selections

Refactor full_selection
This commit is contained in:
KrystalDelusion 2025-04-05 14:15:27 +13:00 committed by GitHub
commit 98d4355b82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 700 additions and 263 deletions

View file

@ -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()``.