* src/tgba/bddprint.cc (print_handler): Quote promises
when !want_prom. * src/tgbaparse/tgbaparse.yy (prop_list): Accept strings or identifiers. Discard empty strings. * src/tgbatest/mixprod.cc, src/tgbatest/mixprod.test: New file. * src/tgbatest/Makefile.am (check_PROGRAMS): Add mixprod. (mixprod_SOURCES): New variable. (TESTS): Add mixprod.test.
This commit is contained in:
parent
fd12c02345
commit
bacd5a0ac2
7 changed files with 112 additions and 10 deletions
|
|
@ -25,10 +25,15 @@ namespace spot
|
|||
if (isi != dict->prom_formula_map.end())
|
||||
{
|
||||
if (want_prom)
|
||||
o << "Prom[";
|
||||
to_string(isi->second, o);
|
||||
if (want_prom)
|
||||
o << "]";
|
||||
{
|
||||
o << "Prom[";
|
||||
to_string(isi->second, o) << "]";
|
||||
}
|
||||
else
|
||||
{
|
||||
o << "\"";
|
||||
to_string(isi->second, o) << "\"";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue