vhdlpp: Changed the workaround for accessing localparam arrays & records.
This commit is contained in:
parent
295e4e7dfb
commit
d1dc98b7f7
|
|
@ -854,11 +854,6 @@ int ExpName::emit_workaround_(ostream&out, Entity*ent, ScopeBase*scope,
|
|||
{
|
||||
int errors = 0;
|
||||
|
||||
out << "{";
|
||||
for(int i = field_size - 1; i >= 0; --i) {
|
||||
if(i != field_size - 1)
|
||||
out << ",";
|
||||
|
||||
out << "\\" << (prefix_.get() ? prefix_->name_ : name_) << " [";
|
||||
|
||||
for(list<index_t*>::const_iterator it = indices.begin();
|
||||
|
|
@ -867,9 +862,7 @@ int ExpName::emit_workaround_(ostream&out, Entity*ent, ScopeBase*scope,
|
|||
out << "+";
|
||||
}
|
||||
|
||||
out << i << "]";
|
||||
}
|
||||
out << "}";
|
||||
out << ":" << field_size << "]";
|
||||
|
||||
return errors;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue