Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > 589b38626859682dda0b4289ae4806af > files > 165

coccinelle-examples-1.0.7-2.mga7.i586.rpm

@initialize:ocaml@
@@

let past_line_4(p,other) =
    (List.hd p).line > 4

@r@
expression e;
@@

f(e)

@@
position p : script:ocaml(r.e) { past_line_4(p,e) };
expression r.e;
@@

g(
-e@p
+27
 )