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

to_string: remove extra parentheses

* src/ltlvisit/tostring.cc: Fix duplicate parentheses around
argument of unary operators when full_parent=true.
parent 0fc3c6bc
......@@ -593,10 +593,10 @@ namespace spot
break;
}
if (need_parent || full_parent_)
if (need_parent)
openp();
uo->child()->accept(*this);
if (need_parent || full_parent_)
if (need_parent)
closep();
switch (uo->op())
......
Supports Markdown
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