HCoop
/
bpt
/
coccinelle.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Release coccinelle-0.2.0
[bpt/coccinelle.git]
/
tests
/
max.cocci
Commit
Line
Data
34e49164
C
1
@x@
2
position pc,pm,pi;
3
expression E;
4
@@
5
6
if@pc (E@pm) return i@pi;
7
8
@@
9
position x.pc,x.pm,x.pi;
10
expression E;
11
@@
12
13
if@pc (E@pm)
14
- return i@pi;
15
+ return 3;