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
/
xxx_info.cocci
1
@@
2
function xxx_info;
3
identifier x,y;
4
@@
5
int xxx_info(int x
6
+ ,scsi *y
7
) {
8
...
9
- scsi *y;
10
...
11
- y = scsi_get();
12
- if(!y) { ... return -1; }
13
...
14
- scsi_put(y);
15
...
16
}
17
18