Doc tags followed by newline are now parsed properly

This commit is contained in:
Lefteris Karapetsas
2017-01-27 00:00:05 +01:00
parent 9ca0fde853
commit cc7834f2a9
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -31,8 +31,8 @@ static inline string::const_iterator firstWsOrNl(
string::const_iterator _end
)
{
auto nlPos = find(_pos, _end, '\n');
auto wsPos = firstSpaceOrTab(_pos, _end);
auto nlPos = find(wsPos, _end, '\n');
return (wsPos < nlPos) ? wsPos : nlPos;
}