I have:
- C++ code with lots of complicated MACROS (#define bla bla ...)
- And the usage (instantiation) of those MACROS
I need:
A tool (online for example) that will simply do the instantiation of the MACROS (or the system of macros) and show the resultant code.
Example:
Input:
#define AAA(a,b) if ((a) > (b))
AAA(1, f1(10))
Output:
if ((1) > (f1(10)))