Skip to content
Snippets Groups Projects
Commit fd22788d authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Improved matching of qdox/doxygen comments.

parent bbaf7893
No related branches found
No related tags found
No related merge requests found
......@@ -425,7 +425,14 @@ void Lexer::scan_helper(Token *tok)
} else if (_yychar == '*') {
yyinp();
const bool doxy = _yychar == '*' || _yychar == '!';
bool doxy = false;
if (_yychar == '*' || _yychar == '!') {
yyinp();
if (! _yychar || std::isspace(_yychar))
doxy = true;
}
while (_yychar) {
if (_yychar != '*') {
......
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