| 1 |
// This file is part of Coccinelle, lincensed under the terms of the GPL v2. |
| 2 |
// See copyright.txt in the Coccinelle source code for more information. |
| 3 |
// The Coccinelle source code can be obtained at http://coccinelle.lip6.fr |
| 4 |
|
| 5 |
@disj@ |
| 6 |
expression E1, E2, E3; |
| 7 |
identifier x; |
| 8 |
@@ |
| 9 |
|
| 10 |
if (E2 < |
| 11 |
- E3 |
| 12 |
+ E1 |
| 13 |
) { ... |
| 14 |
( |
| 15 |
some_function(0); |
| 16 |
x = 30; |
| 17 |
| |
| 18 |
some_function(1); |
| 19 |
x = 30; |
| 20 |
| |
| 21 |
- this(E1); |
| 22 |
+ that(E2); |
| 23 |
| |
| 24 |
- some_function(E1) |
| 25 |
+ another_function(E2) |
| 26 |
; |
| 27 |
- x = 30; |
| 28 |
) |
| 29 |
... } |