mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
simplify two statements with selectToken()
This commit is contained in:
parent
724ee76900
commit
1a1975bf7a
@ -458,10 +458,7 @@ void Scanner::scanToken()
|
||||
// - -- -=
|
||||
advance();
|
||||
if (m_char == '-')
|
||||
{
|
||||
advance();
|
||||
token = Token::DEC;
|
||||
}
|
||||
token = selectToken(Token::DEC);
|
||||
else if (m_char == '=')
|
||||
token = selectToken(Token::ASSIGN_SUB);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user