permit multiline comments and strings in macros
[bpt/coccinelle.git] / demos / iso-kzalloc.cocci
1 // A*B is not just a toy isomorphism :) it's really useful sometimes.
2
3 @@
4 expression E;
5 constant c;
6 type T;
7 @@
8
9 -kzalloc(c * sizeof(T), E)
10 +kcalloc(c, sizeof(T), E)