mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #785 from LefterisJP/natspec_emptyDocstringFix
Fix Natspec tagless bug
This commit is contained in:
commit
24a2335c01
@ -349,8 +349,13 @@ void InterfaceHandler::parseDocString(std::string const& _string, CommentOwner _
|
||||
}
|
||||
else if (m_lastTag != DocTagType::NONE) // continuation of the previous tag
|
||||
currPos = appendDocTag(currPos, end, _owner);
|
||||
else if (currPos != end) // skip the line if a newline was found
|
||||
else if (currPos != end)
|
||||
{
|
||||
if (nlPos == end) //end of text
|
||||
return;
|
||||
// else skip the line if a newline was found
|
||||
currPos = nlPos + 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user