mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #3970 from elopio/test/docstring-tag-end
docstring: add missing space
This commit is contained in:
commit
258ae8927e
@ -72,7 +72,7 @@ bool DocStringParser::parse(string const& _docString, ErrorReporter& _errorRepor
|
|||||||
auto tagNameEndPos = firstWhitespaceOrNewline(tagPos, end);
|
auto tagNameEndPos = firstWhitespaceOrNewline(tagPos, end);
|
||||||
if (tagNameEndPos == end)
|
if (tagNameEndPos == end)
|
||||||
{
|
{
|
||||||
appendError("End of tag " + string(tagPos, tagNameEndPos) + "not found");
|
appendError("End of tag " + string(tagPos, tagNameEndPos) + " not found");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
contract C {
|
||||||
|
/// @param
|
||||||
|
function vote(uint id) public;
|
||||||
|
}
|
||||||
|
// ----
|
||||||
|
// DocstringParsingError: End of tag @param not found
|
Loading…
Reference in New Issue
Block a user