> The issue is that if the rule gets matched in one file, > it will include the header in every other file as well,
How did you choose the selected source file combination? > because the "depends on ever" clause is satisfied. > Is there a way to tell coccinelle "apply this rule to file X, > but only if another rule matched in the same file"? Did you try out to set any script variable which can eventually be checked by a SmPL rule at the end? Will your development interests grow for corresponding software extensions? Regards, Markus _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
