diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2017-01-27 07:09:00 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2017-01-27 07:09:00 +0800 |
commit | 98b51b378e42ba67d727c0d2245314cdaab2fd53 (patch) | |
tree | 93386d4d90d1ffc8056c99c56dec2c09d046b548 /libsolidity | |
parent | cc7834f2a96e305bba3c7470271560dbf99d17f9 (diff) | |
download | dexon-solidity-98b51b378e42ba67d727c0d2245314cdaab2fd53.tar.gz dexon-solidity-98b51b378e42ba67d727c0d2245314cdaab2fd53.tar.zst dexon-solidity-98b51b378e42ba67d727c0d2245314cdaab2fd53.zip |
More verbose function naming
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/parsing/DocStringParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/parsing/DocStringParser.cpp b/libsolidity/parsing/DocStringParser.cpp index 481a3349..c2af82de 100644 --- a/libsolidity/parsing/DocStringParser.cpp +++ b/libsolidity/parsing/DocStringParser.cpp @@ -26,7 +26,7 @@ static inline string::const_iterator firstSpaceOrTab( return (spacePos < tabPos) ? spacePos : tabPos; } -static inline string::const_iterator firstWsOrNl( +static inline string::const_iterator firstWhitespaceOrNewline( string::const_iterator _pos, string::const_iterator _end ) @@ -66,7 +66,7 @@ bool DocStringParser::parse(string const& _docString, ErrorList& _errors) if (tagPos != end && tagPos < nlPos) { // we found a tag - auto tagNameEndPos = firstWsOrNl(tagPos, end); + auto tagNameEndPos = firstWhitespaceOrNewline(tagPos, end); if (tagNameEndPos == end) { appendError("End of tag " + string(tagPos, tagNameEndPos) + "not found"); |