vhdlpp: Fixed a problem with types defined as an array of arrays.
This commit is contained in:
parent
428f059c58
commit
f3321126ed
|
|
@ -89,7 +89,7 @@ int VTypeArray::emit_with_dims_(std::ostream&out, bool packed, perm_string name)
|
|||
|
||||
list<const VTypeArray*> dims;
|
||||
const VTypeArray*cur = this;
|
||||
while (const VTypeArray*sub = dynamic_cast<const VTypeArray*> (cur->etype_)) {
|
||||
while (const VTypeArray*sub = dynamic_cast<const VTypeArray*> (cur->element_type())) {
|
||||
dims.push_back(cur);
|
||||
cur = sub;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue