Support Doxygen comment style after members

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

Done with Roberto Raggi.
This commit is contained in:
Thorbjørn Lindeijer
2009-03-20 14:16:47 +01:00
parent b28d55f295
commit ec69936c7c

View File

@@ -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;
}