* src/ltlvisit/dump.hh (dump): Return the passed ostream.

* src/ltlvisit/dump.cc (dump): Likewise.
* src/ltlvisit/dotty.hh (dotty): Likewise.
* src/ltlvisit/dotty.cc (dotty): Likewise.
* src/ltlvisit/tostring.hh (to_string): Likewise.
* src/ltlvisit/tostring.cc (to_string): Likewise.
This commit is contained in:
Alexandre Duret-Lutz 2003-05-16 08:39:11 +00:00
parent 7685d3a5b8
commit e9b734f936
7 changed files with 17 additions and 7 deletions

View file

@ -94,13 +94,14 @@ namespace spot
};
void
std::ostream&
dotty(const formula* f, std::ostream& os)
{
dotty_visitor v(os);
os << "digraph G {" << std::endl;
f->accept(v);
os << "}" << std::endl;
return os;
}
}