vhdlpp: Added ExpString::write_to_stream().

This commit is contained in:
Maciej Suminski 2014-09-05 15:06:57 +02:00
parent 51b121ae7a
commit a25cde3bc7
1 changed files with 7 additions and 2 deletions

View File

@ -203,9 +203,14 @@ void ExpRelation::write_to_stream(ostream&)
ivl_assert(*this, !"Not supported");
}
void ExpString::write_to_stream(ostream&)
void ExpString::write_to_stream(ostream&fd)
{
ivl_assert(*this, !"Not supported");
fd << "\"";
for(vector<char>::const_iterator it = value_.begin();
it != value_.end(); ++it) {
fd << *it;
}
fd << "\"";
}
void ExpUAbs::write_to_stream(ostream&fd)