mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-18 21:25:47 +00:00
rtlil: replace AttrObject::meta_idx_ with ObjMeta pointer
This commit is contained in:
parent
cfd7edc608
commit
8f8a07efee
4 changed files with 100 additions and 146 deletions
|
|
@ -952,7 +952,7 @@ struct RTLILFrontendWorker {
|
|||
// meta_idx_ is a weak ref — drop ours so the pushed copy
|
||||
// in the vector is the sole holder. Process::~Process
|
||||
// walks the tree to actually release.
|
||||
act.meta_idx_ = RTLIL::AttrObject::NO_META;
|
||||
act.meta_ = nullptr;
|
||||
expect_eol();
|
||||
}
|
||||
// The old parser allowed dangling attributes before a "sync" to carry through
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue