mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Doc tags followed by newline are now parsed properly
This commit is contained in:
parent
9ca0fde853
commit
cc7834f2a9
@ -31,8 +31,8 @@ static inline string::const_iterator firstWsOrNl(
|
|||||||
string::const_iterator _end
|
string::const_iterator _end
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
auto nlPos = find(_pos, _end, '\n');
|
||||||
auto wsPos = firstSpaceOrTab(_pos, _end);
|
auto wsPos = firstSpaceOrTab(_pos, _end);
|
||||||
auto nlPos = find(wsPos, _end, '\n');
|
|
||||||
return (wsPos < nlPos) ? wsPos : nlPos;
|
return (wsPos < nlPos) ? wsPos : nlPos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user