permit multiline comments and strings in macros
[bpt/coccinelle.git] / tests / multiplus.cocci
CommitLineData
34e49164
C
1// shows that there is a problem with \+
2
3@@
4identifier fn1, fld1;
5identifier data, device;
6type T;
7expression delay;
8@@
9
10 fn1 (
11- void *data
12+ struct work_struct *work
13 ) {
14 <+...
15 schedule_delayed_work(&device->fld1,delay);
16 ...+>
17 }