Fix and better output for tests

This commit is contained in:
Lefteris Karapetsas
2017-01-25 11:01:52 +01:00
parent 5738e865d5
commit 9ca0fde853
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -99,7 +99,13 @@ DocStringParser::iter DocStringParser::parseDocTagLine(iter _pos, iter _end, boo
solAssert(!!m_lastTag, "");
auto nlPos = find(_pos, _end, '\n');
if (_appending && _pos < _end && *_pos != ' ' && *_pos != '\t')
{
m_lastTag->content += " ";
}
else if (!_appending)
{
_pos = skipWhitespace(_pos, _end);
}
copy(_pos, nlPos, back_inserter(m_lastTag->content));
return skipLineOrEOS(nlPos, _end);
}