Coccinelle: array_size: reduce rule applicability

Rule r is only use in org or report mode, so only execute it in those
cases.

Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
This commit is contained in:
Julia Lawall 2016-01-30 17:13:54 +01:00 • committed by Michal Marek
commit c7eaa8873b

View file

@ -59,7 +59,7 @@ T[] E;
// For org and report mode
//----------------------------------------------------------
@r@
@r depends on (org || report)@
type T;
T[] E;
position p;