Support C-style doc comments with !
This commit is contained in:
parent
2777e396e6
commit
dd0a20c6d5
2 changed files with 3 additions and 3 deletions
|
|
@ -438,7 +438,7 @@ namespace
|
|||
if (starts_with(p, "*/"))
|
||||
// empty comment
|
||||
p.skip(2u);
|
||||
else if (in_main_file && starts_with(p, "*"))
|
||||
else if (in_main_file && (starts_with(p, "*") || starts_with(p, "!")))
|
||||
{
|
||||
// doc comment
|
||||
p.skip();
|
||||
|
|
|
|||
|
|
@ -216,8 +216,8 @@ class name \
|
|||
/// h
|
||||
g(h)
|
||||
|
||||
/// i
|
||||
/// i
|
||||
/*! i
|
||||
i */
|
||||
using i = int;
|
||||
|
||||
/// j
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue