Coccinelle release 1.0.0-rc4
[bpt/coccinelle.git] / tests / retmacro.res
1 #define REG_PATTERN_TEST(R, M, W) \
2 { \
3 for (pat = 0; pat < ARRAY_SIZE(test); pat++) { \
4 if (value != (test[pat] & W & M)) { \
5 return 1; \
6 } \
7 } \
8 }
9
10
11 #define REG_PATTERN_TEST2(R, M, W) \
12 { \
13 for (pat = 0; pat < ARRAY_SIZE(test); pat++) { \
14 if (value != (test[pat] & W & M)) { \
15 } \
16 } \
17 }