vhdlpp: Minor changes to write_to_stream functions.
This commit is contained in:
parent
b79f0d763f
commit
00f5785f2c
|
|
@ -82,7 +82,7 @@ void IfSequential::write_to_stream(std::ostream&fd)
|
|||
{
|
||||
fd << "if ";
|
||||
cond_->write_to_stream(fd);
|
||||
fd << " then " << endl;
|
||||
fd << " then" << endl;
|
||||
|
||||
for (list<SequentialStmt*>::iterator cur = if_.begin()
|
||||
; cur != if_.end() ; ++cur)
|
||||
|
|
|
|||
|
|
@ -82,7 +82,8 @@ void SubprogramBody::write_to_stream(ostream&fd) const
|
|||
} else {
|
||||
fd << "--empty body" << endl;
|
||||
}
|
||||
fd << "end function;" << endl;
|
||||
|
||||
fd << "end function " << header_->name() << ";" << endl;
|
||||
}
|
||||
|
||||
SubprogramHeader::SubprogramHeader(perm_string nam, list<InterfacePort*>*ports,
|
||||
|
|
|
|||
Loading…
Reference in New Issue