acc: avoid superfluous parentheses when printing acceptance
* src/tgba/acc.cc: Do not output (Inf(x)) or (Fin(x)). * src/tgbatest/acc.test: Adjust.
This commit is contained in:
parent
76c676dba0
commit
f325cddc1c
2 changed files with 10 additions and 4 deletions
|
|
@ -88,6 +88,9 @@ namespace spot
|
|||
}
|
||||
else
|
||||
{
|
||||
if (!top)
|
||||
// Avoid extra parentheses if there is only one set
|
||||
top = code[pos - 1].mark.count() == 1;
|
||||
unsigned level = 0;
|
||||
const char* and_ = "";
|
||||
if (!top)
|
||||
|
|
@ -118,6 +121,9 @@ namespace spot
|
|||
}
|
||||
else
|
||||
{
|
||||
if (!top)
|
||||
// Avoid extra parentheses if there is only one set
|
||||
top = code[pos - 1].mark.count() == 1;
|
||||
unsigned level = 0;
|
||||
const char* or_ = "";
|
||||
if (!top)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue