Commit fd22788d authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Improved matching of qdox/doxygen comments.

parent bbaf7893
......@@ -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 != '*') {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment