aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/parsing/DocStringParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/parsing/DocStringParser.cpp')
-rw-r--r--libsolidity/parsing/DocStringParser.cpp2
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;
}