HCoop
/
bpt
/
coccinelle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
permit multiline comments and strings in macros
[bpt/coccinelle.git]
/
demos
/
first.cocci
diff --git
a/demos/first.cocci
b/demos/first.cocci
index
1fca6fb
..
789c2c3
100644
(file)
--- a/
demos/first.cocci
+++ b/
demos/first.cocci
@@
-14,10
+14,10
@@
T f@p (...) {...}
p << first_fct.p;
@@
-if p[0].line > first
&&
first == 0:
+if p[0].line > first
and
first == 0:
first = p[0].line
else:
- cocci.include_match(
f
alse)
+ cocci.include_match(
F
alse)
@@
type T;