aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-09-06 04:07:13 +0800
committerchriseth <chris@ethereum.org>2018-09-10 18:28:34 +0800
commit65a439b0fbbd3723f9b6a456cbb9927b3ab5d121 (patch)
tree283ac858bc7ff149c2aad76ea3dc746bbd54d904
parent61ee88ff0e624e87872ad9ba47654d8bfe80f047 (diff)
downloaddexon-solidity-65a439b0fbbd3723f9b6a456cbb9927b3ab5d121.tar
dexon-solidity-65a439b0fbbd3723f9b6a456cbb9927b3ab5d121.tar.gz
dexon-solidity-65a439b0fbbd3723f9b6a456cbb9927b3ab5d121.tar.bz2
dexon-solidity-65a439b0fbbd3723f9b6a456cbb9927b3ab5d121.tar.lz
dexon-solidity-65a439b0fbbd3723f9b6a456cbb9927b3ab5d121.tar.xz
dexon-solidity-65a439b0fbbd3723f9b6a456cbb9927b3ab5d121.tar.zst
dexon-solidity-65a439b0fbbd3723f9b6a456cbb9927b3ab5d121.zip
Refactor handling of whitespace.
-rw-r--r--libsolidity/parsing/Scanner.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/libsolidity/parsing/Scanner.cpp b/libsolidity/parsing/Scanner.cpp
index 6541f6c2..64acd411 100644
--- a/libsolidity/parsing/Scanner.cpp
+++ b/libsolidity/parsing/Scanner.cpp
@@ -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();