The effect of the rules ifm1, pr11, and pr12 is only used in the final rule, which depends on context && !org && !report. Thus these rules should only be performed in those circumstances.
Unified · Split
| @@ -212,7 +212,7 @@ else S3 · 211 unmodified lines | ||
| 212 | 212 | // The following three rules are duplicates of ifm, pr1 and pr2 respectively. |
| 213 | 213 | // It is need because the previous rule as already made a "change". |
| 214 | 214 | |
| 215 | −@ifm1@ | |
| 215 | +@ifm1 depends on context && !org && !report@ | |
| 216 | 216 | expression *E; |
| 217 | 217 | statement S1,S2; |
| 218 | 218 | position p1; |
| @@ -220,7 +220,7 @@ position p1; · 1 unmodified line | ||
| 220 | 220 | |
| 221 | 221 | if@p1 ((E == NULL && ...) || ...) S1 else S2 |
| 222 | 222 | |
| 223 | −@pr11 expression@ | |
| 223 | +@pr11 depends on context && !org && !report expression@ | |
| 224 | 224 | expression *ifm1.E; |
| 225 | 225 | identifier f; |
| 226 | 226 | position p1; |
| @@ -228,7 +228,7 @@ position p1; · 1 unmodified line | ||
| 228 | 228 | |
| 229 | 229 | (E != NULL && ...) ? <+...E->f@p1...+> : ... |
| 230 | 230 | |
| 231 | −@pr12 expression@ | |
| 231 | +@pr12 depends on context && !org && !report expression@ | |
| 232 | 232 | expression *ifm1.E; |
| 233 | 233 | identifier f; |
| 234 | 234 | position p2; |