J
James S. Singleton
I have the following macro:
#define ABC(x) f((x) + 1)
Is it possible to get the preprocessor to replace lines like
x = g(y) + ABC(z/3) ;
with
x = g(y) + f((z/3) + 1) ;
but leave lines like
x = h->ABC(w) ;
alone?
#define ABC(x) f((x) + 1)
Is it possible to get the preprocessor to replace lines like
x = g(y) + ABC(z/3) ;
with
x = g(y) + f((z/3) + 1) ;
but leave lines like
x = h->ABC(w) ;
alone?