permit multiline comments and strings in macros
[bpt/coccinelle.git] / demos / posmult.cocci
CommitLineData
34e49164
C
1@n@
2position p;
3expression E;
4statement S,S1;
5@@
6
7E = NULL
8... when != E = ALLOC(...)
9if@p (\(E\|!E\)) S else S1
10
11@@
12expression E, E1;
13statement S,S1;
14position p1 != n.p;
15@@
16
17* E = ALLOC(...)
18... when != E = E1
19* if@p1 (\(E\|!E\))
20 S else S1