HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Coccinelle release-1.0.0-rc11
[bpt/coccinelle.git]
/
tests
/
indecl.cocci
1
@r@
2
identifier x;
3
@@
4
5
int x;
6
7
@script:python@
8
x << r.x;
9
@@
10
11
print x
12
13
@rr@
14
identifier x;
15
@@
16
17
struct x { ... int x; ... };
18
19
@script:python@
20
x << rr.x;
21
@@
22
23
print "name",x