HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e09e27831689da0aca0d30e8d6cfebd205b3ea3a
[bpt/coccinelle.git]
/
tests
/
pythontococci.cocci
1
@a@
2
identifier x;
3
@@
4
5
foo(x);
6
7
@script:python b@
8
x << a.x;
9
y;
10
z;
11
@@
12
13
print y
14
coccinelle.y = x
15
coccinelle.z = "something"
16
print y
17
18
@c@
19
identifier b.y;
20
identifier b.z;
21
identifier a.x;
22
@@
23
24
- bar();
25
+ matched_bar(y,z,x);