weggli icon indicating copy to clipboard operation
weggli copied to clipboard

Add the ability to restrict matching to possible linear followups

Open jvoisin opened this issue 4 years ago • 0 comments

It would be great to be able to tell weggli that all the predicates have to be following each other in a linear way.

For example:

if (a)
  A;
else
  B;
C
if (b)
  D;
else
  E;

Here, A can't follow B, but it can be followed by C and D or E.

This should make queries like free($a); free($a); more interesting.

jvoisin avatar Oct 13 '21 09:10 jvoisin