> > Not exactly what I expected...

>
> SmPL doesn't support patterns with multiple variable declarations,

How are the chances to adjust this software limitation?


> because
 there is really no way to tell whether they will be on one line
> or
 multiple lines.


Will it become more interesting to make such a case distinction possible?


> Basically, it is matching the pattern multiple times on the same code,
> once for each variable.

Would you like to achieve that metavariables of the same type (or kind)
can refer to different source code?


> It seems that this resulted in adding a blank line.  That is indeed not
> really ideal.

Was just a blank line left over after the deletion of declarations
(which looks like an addition in the diff format)?

Would you occasionally prefer to omit it (because of pretty-printing)?

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to