Skip to content
Snippets Groups Projects
Commit ec69936c authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Support Doxygen comment style after members

Forms /**<, /*!<, ///< and //!<.

Done with Roberto Raggi.
parent b28d55f2
No related branches found
No related tags found
No related merge requests found
...@@ -410,6 +410,9 @@ void Lexer::scan_helper(Token *tok) ...@@ -410,6 +410,9 @@ void Lexer::scan_helper(Token *tok)
if (_yychar == '/' || _yychar == '!') { if (_yychar == '/' || _yychar == '!') {
yyinp(); yyinp();
if (_yychar == '<')
yyinp();
if (_yychar != '\n' && std::isspace(_yychar)) if (_yychar != '\n' && std::isspace(_yychar))
doxy = true; doxy = true;
} }
...@@ -435,6 +438,9 @@ void Lexer::scan_helper(Token *tok) ...@@ -435,6 +438,9 @@ void Lexer::scan_helper(Token *tok)
if (ch == '*' && _yychar == '/') if (ch == '*' && _yychar == '/')
goto _Ldone; goto _Ldone;
if (_yychar == '<')
yyinp();
if (! _yychar || std::isspace(_yychar)) if (! _yychar || std::isspace(_yychar))
doxy = true; doxy = true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment