Commit 20773590 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

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

parent 4a43e24a
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment