Remove comments in macro invocations
Just breaks to much.
This commit is contained in:
parent
1b468ea476
commit
b3885bbb68
2 changed files with 9 additions and 12 deletions
|
|
@ -173,23 +173,20 @@ f **/
|
|||
#define g(name) \
|
||||
class name \
|
||||
{ \
|
||||
/** i
|
||||
i */ \
|
||||
void i(); \
|
||||
};
|
||||
|
||||
/// h
|
||||
/// h
|
||||
g(h)
|
||||
|
||||
/// j
|
||||
/// j
|
||||
using j = int;
|
||||
/// i
|
||||
/// i
|
||||
using i = int;
|
||||
|
||||
/// k
|
||||
/// k
|
||||
/// j
|
||||
/// j
|
||||
template <typename T/**/>
|
||||
void k();
|
||||
void j();
|
||||
)";
|
||||
|
||||
auto file = parse({}, "comment-matching.cpp", code);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue