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.1.8
[bpt/coccinelle.git]
/
tests
/
ben.cocci
1
@@
2
function get_type;
3
identifier this_info, this_type;
4
typedef GType, GTypeInfo;
5
initialiser E ;
6
@@
7
+ static GType this_type = 0;
8
+ static const GTypeInfo this_info = E;
9
GType get_type () {
10
- static GType this_type = 0;
11
if (...) {
12
- static const GTypeInfo this_info = E ;
13
...
14
}
15
...
16
}