Closed mikrofyr closed 2 years ago
Yes, this is already fully supported. For example, see svlint: https://github.com/dalance/svlint/blob/master/src/main.rs#L224
In particular, see the use of the mutable defines
and the returned value of parse_sv()
called new_defines
.
Thanks for clarification
Posted this question in the morty project https://github.com/zarubaf/morty/issues/39 , but probably is more related to this project. Is it possible to add support for in-order/global defines?
mydefines.sv:
mymodule.sv
morty mydefine.sv mymodule.sv