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:
Alexandre Duret-Lutz 2019-05-06 21:52:05 +02:00
parent ef8de879dc
commit b7cd475632
2 changed files with 5 additions and 3 deletions

View file

@ -136,6 +136,8 @@ Fa M b,&!xLPgopra
(!p W Gp) | ({(!p[*];(p[+]:(p[*];!p[+])))[:*4][:+]}<>-> (!p W Gp)),&!xPpla
{b[+][:*0..3]},&!fPsopra
{a->c[*]},xfPsopra
{(a[+];b*);c*}<>->d,&!xfPgopra
{first_match(a[+];b*);c*}<>->d,&!fPgopra
EOF
run 0 ../kind input