mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 22:23:23 +00:00
Resolve multiple dimensions defined in stages with typedef
This commit is contained in:
parent
e0d3977e19
commit
03f35c3def
2 changed files with 70 additions and 74 deletions
|
@ -2122,7 +2122,7 @@ typedef_decl:
|
|||
astbuf1->children.push_back(astbuf2);
|
||||
|
||||
if ($5 != NULL) {
|
||||
if (!astbuf2) {
|
||||
if (!astbuf2 && !astbuf1->is_custom_type) {
|
||||
addRange(astbuf1, 0, 0, false);
|
||||
}
|
||||
rewriteAsMemoryNode(astbuf1, $5);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue