mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
simplifying Scanner::reset()
This commit is contained in:
parent
21fdd84c09
commit
4b84507310
@ -150,9 +150,7 @@ void Scanner::reset(CharStream const& _source)
|
||||
skipWhitespace();
|
||||
scanToken();
|
||||
|
||||
m_currentToken = m_nextToken;
|
||||
m_skippedComment = m_nextSkippedComment;
|
||||
scanToken();
|
||||
next();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user