HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Release coccinelle-0.2.0
[bpt/coccinelle.git]
/
tests
/
rule3.cocci
1
@@
2
// struct us_data *E1;
3
// struct us_data E1;
4
expression E1;
5
expression E2;
6
@@
7
8
//- usb_stor_clear_halt(E1->pusb_dev,E2)
9
//- usb_stor_clear_halt(E1.pusb_dev,E2)
10
- usb_clear_halt(E1->pusb_dev, E2)
11
+ usb_stor_clear_halt(E1, E2)
12
13
//error words = [usb_clear_halt]