HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
permit multiline comments and strings in macros
[bpt/coccinelle.git]
/
demos
/
initial_final.cocci
1
// Options: -dir {directory}
2
3
@initialize:python@
4
counter = 0
5
6
@x@
7
position p;
8
@@
9
10
kmalloc@p(...)
11
12
@script:python@
13
p<<x.p;
14
@@
15
16
counter = counter + 1
17
18
@finalize:python@
19
20
print "counter %d" % (counter)