tl: first_match does not preserve syntactic_si
* spot/tl/formula.cc: Fix it. * tests/core/kind.test: Add test case.
This commit is contained in:
parent
ef8de879dc
commit
b7cd475632
2 changed files with 5 additions and 3 deletions
|
|
@ -1632,10 +1632,10 @@ namespace spot
|
|||
break;
|
||||
case op::first_match:
|
||||
props = children[0]->props;
|
||||
// If first_match(r) == r && !(r;[*]), then it should follow
|
||||
// that if r is stutter-inv, then first_match(r) is
|
||||
// stutter-inv, so we do not reset the syntactic_si bit.
|
||||
assert(is_.sere_formula);
|
||||
// {(a[+];b*);c*}<>->d is stutter invariant
|
||||
// {first_match(a[+];b*);c*}<>->d is NOT.
|
||||
is_.syntactic_si = false;
|
||||
is_.boolean = false;
|
||||
is_.ltl_formula = false;
|
||||
is_.psl_formula = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue