permit multiline comments and strings in macros
[bpt/coccinelle.git] / tests / iterprint.cocci
1 @@
2 expression bitmap, size;
3 identifier bit;
4 statement S1;
5 iterator name for_each_set_bit;
6 @@
7 -for(bit = 0; bit < size; bit++)
8 +for_each_set_bit(bit, bitmap, size)
9 -{
10 - if (test_bit(bit, bitmap))
11 S1
12 -}