permit multiline comments and strings in macros
[bpt/coccinelle.git] / demos / check_region.c
1 int main(int i) {
2
3 if(check_region(piix,8)){
4 printk("error1");
5 return -ENODEV;
6 }
7 if(force_addr) {
8 printk("warning1");
9 } else if((temp & 1) == 0) {
10 if(force) {
11 printk("warning2");
12 } else {
13 printk("error2");
14
15 return -ENODEV;
16 }
17 }
18 request_region(piix,8);
19 printk("done");
20 }
21