Browse Source

simplifying Scanner::reset()

cl-refactor
Lefteris Karapetsas 10 years ago
parent
commit
6e0839efe3
  1. 4
      libsolidity/Scanner.cpp

4
libsolidity/Scanner.cpp

@ -150,9 +150,7 @@ void Scanner::reset(CharStream const& _source)
skipWhitespace();
scanToken();
m_currentToken = m_nextToken;
m_skippedComment = m_nextSkippedComment;
scanToken();
next();
}

Loading…
Cancel
Save