HCoop
/
bpt
/
coccinelle.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
Release coccinelle-0.2.3rc6
[bpt/coccinelle.git]
/
tests
/
typedef.cocci
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
@ rule1 @
2
type T;
3
identifier link;
4
@@
5
6
T {
7
...
8
- dev_link_t link;
9
+ struct pcmcia_device *p_dev;
10
...
11
};
12
13
@ rule2 extends rule1 @
14
T *s;
15
identifier fld;
16
@@
17
18
- s->link.fld
19
+ s->p_dev->fld