1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#define FOO(bar) create_a_really_long_identifier name(some_function(bar1 + \ bar2), bar3, \ bar4); #define multilinemacro do { (x+5); } while (0); \ printf("a multilinemacro"); \ printf("a multilinemacro2"); int main(int argc, char *argv[]) { int a, b; a = 1; /* stupid comment \ * b = 2; */ return(a+b); }