* src/tl/dot.cc: Fix assumption about call orders.
This commit is contained in:
parent
4a43e24afa
commit
207735900d
1 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue