* src/tl/dot.cc: Fix assumption about call orders.

This commit is contained in:
Alexandre Duret-Lutz 2015-09-30 14:46:44 +02:00
parent 4a43e24afa
commit 207735900d

View file

@ -109,7 +109,11 @@ namespace spot
for (auto c: f)
{
os_ << " " << src << " -> " << rec(c);
// Do not merge the next two lines, as there is no
// guarantee that rec will be called before we start
// printing the transition.
int dst = rec(c);
os_ << " " << src << " -> " << dst;
if (childnum > 0)
os_ << " [taillabel=\"" << childnum << "\"]";
if (childnum == -2)