permit multiline comments and strings in macros
[bpt/coccinelle.git] / demos / ifdef_skip_tag.c
1 /* Example provided by: Flavien@lebarbe.net */
2
3
4 int foo(int x) {
5 /* {{coccinelle:skip_start}} */
6 #ifdef PLATFORM_A
7 while(func_a()) {
8 #endif
9 /* {{coccinelle:skip_end}} */
10 #ifdef PLATFORM_B
11 while(func_b()) {
12 #endif
13 do_stuff();
14 }
15 }
16
17
18 void main()
19 {
20 }