mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Refactor handling of whitespace.
This commit is contained in:
parent
61ee88ff0e
commit
65a439b0fb
@ -435,11 +435,6 @@ void Scanner::scanToken()
|
||||
m_nextToken.location.start = sourcePos();
|
||||
switch (m_char)
|
||||
{
|
||||
case '\n':
|
||||
case ' ':
|
||||
case '\t':
|
||||
token = selectToken(Token::Whitespace);
|
||||
break;
|
||||
case '"':
|
||||
case '\'':
|
||||
token = scanString();
|
||||
|
Loading…
Reference in New Issue
Block a user