Release coccinelle-0.1
[bpt/coccinelle.git] / tests / scripting / script5.cocci
1 @ rule1 @ type T; identifier I; constant C; expression E; @@
2 T I[C];
3 <...
4 -I[E]
5 +I[E]
6 ...>
7 @ script:python @ t << rule1.T; i << rule1.I; x << rule1.C; y << rule1.E; @@
8 print t, i, "[", x, "]; ", i, "[", y, "];"
9 #print "Hello"
10 @ rule2 @ constant rule1.C; @@
11 - C