mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-09-03 11:18:31 +02:00
Use Bison's typed midrule actions to construct AST_FCALL nodes with std::unique_ptr, replacing manual 'new' and extra->ast_stack management. This improves type safety, ensures proper ownership, and eliminates potential memory leaks. Ref: https://www.gnu.org/software/bison/manual/html_node/Typed-Midrule-Actions.html