permit multiline comments and strings in macros
[bpt/coccinelle.git] / demos / pythontococci.cocci
CommitLineData
413ffc02
C
1@a@
2identifier x;
3@@
4
5foo(x);
6
7@script:python b@
8x << a.x;
9y;
10z;
11@@
12
13print y
14coccinelle.y = x
15coccinelle.z = "something"
16print y
17
18@c@
19identifier b.y;
20identifier b.z;
21identifier a.x;
22@@
23
24- bar();
25+ matched_bar(y,z,x);