diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2017-01-27 07:00:05 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2017-01-27 07:00:05 +0800 |
commit | cc7834f2a96e305bba3c7470271560dbf99d17f9 (patch) | |
tree | c042625b8ef883aacf5cc5dd9374c39239d87aeb /libsolidity/parsing | |
parent | 9ca0fde853735d183c3db5c77c83de7c70c4ec98 (diff) | |
download | dexon-solidity-cc7834f2a96e305bba3c7470271560dbf99d17f9.tar.gz dexon-solidity-cc7834f2a96e305bba3c7470271560dbf99d17f9.tar.zst dexon-solidity-cc7834f2a96e305bba3c7470271560dbf99d17f9.zip |
Doc tags followed by newline are now parsed properly
Diffstat (limited to 'libsolidity/parsing')
-rw-r--r-- | libsolidity/parsing/DocStringParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/parsing/DocStringParser.cpp b/libsolidity/parsing/DocStringParser.cpp index 5d9a75ef..481a3349 100644 --- a/libsolidity/parsing/DocStringParser.cpp +++ b/libsolidity/parsing/DocStringParser.cpp @@ -31,8 +31,8 @@ static inline string::const_iterator firstWsOrNl( string::const_iterator _end ) { + auto nlPos = find(_pos, _end, '\n'); auto wsPos = firstSpaceOrTab(_pos, _end); - auto nlPos = find(wsPos, _end, '\n'); return (wsPos < nlPos) ? wsPos : nlPos; } |