vhdlpp: Skip writing '=>' for ExpAggregates if there are no fields specified.
This commit is contained in:
parent
01b4d49d4a
commit
251b75003f
|
|
@ -44,7 +44,8 @@ void ExpAggregate::element_t::write_to_stream(ostream&fd) const
|
|||
(*cur)->write_to_stream(fd);
|
||||
}
|
||||
|
||||
fd << "=>";
|
||||
if(!fields_.empty())
|
||||
fd << "=>";
|
||||
val_->write_to_stream(fd);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue