Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
Strip the comment when parse a macro
(1/1)
Loaden:
--- Code: ---#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;
}
--- End code ---
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]
Navigation
[0] Message Index
Go to full version