#ifndef _HAS_EXCEPTIONS
#define _HAS_EXCEPTIONS 1 /* predefine as 0 to disable exceptions */
#endif /* _HAS_EXCEPTIONS */
#define AAA 1
#define BBB 2
#define CCC 3
#define DDD AAA/*c style comment*/ + BBB \ /*test*/ \
- CCC // c++ style comment
int main()
{
return 0;
}
In this demo, we can't strip the comment when parser a macro.
Like this.
I make a patch for fix it.
[attachment deleted by admin]