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, "*/"))
|
if (starts_with(p, "*/"))
|
||||||
// empty comment
|
// empty comment
|
||||||
p.skip(2u);
|
p.skip(2u);
|
||||||
else if (in_main_file && starts_with(p, "*"))
|
else if (in_main_file && (starts_with(p, "*") || starts_with(p, "!")))
|
||||||
{
|
{
|
||||||
// doc comment
|
// doc comment
|
||||||
p.skip();
|
p.skip();
|
||||||
|
|
|
||||||
|
|
@ -216,8 +216,8 @@ class name \
|
||||||
/// h
|
/// h
|
||||||
g(h)
|
g(h)
|
||||||
|
|
||||||
/// i
|
/*! i
|
||||||
/// i
|
i */
|
||||||
using i = int;
|
using i = int;
|
||||||
|
|
||||||
/// j
|
/// j
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue