forked from qt-creator/qt-creator
Support Doxygen comment style after members
Forms /**<, /*!<, ///< and //!<. Done with Roberto Raggi.
This commit is contained in:
@@ -410,6 +410,9 @@ void Lexer::scan_helper(Token *tok)
|
||||
if (_yychar == '/' || _yychar == '!') {
|
||||
yyinp();
|
||||
|
||||
if (_yychar == '<')
|
||||
yyinp();
|
||||
|
||||
if (_yychar != '\n' && std::isspace(_yychar))
|
||||
doxy = true;
|
||||
}
|
||||
@@ -435,6 +438,9 @@ void Lexer::scan_helper(Token *tok)
|
||||
if (ch == '*' && _yychar == '/')
|
||||
goto _Ldone;
|
||||
|
||||
if (_yychar == '<')
|
||||
yyinp();
|
||||
|
||||
if (! _yychar || std::isspace(_yychar))
|
||||
doxy = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user