also, consider:
#define a() { i = 1; j = 2; }
#define b() do { i = 1; j = 2; } while (0)
#define c() x()
f() {
int i, j;
if (1) a(); else c();
if (1) b(); else c();
}
the first if statement results in a syntax error.
jan-simon.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/