aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/parsing
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-09-06 04:07:13 +0800
committerchriseth <chris@ethereum.org>2018-09-06 22:42:59 +0800
commit977ac9c390d034232afdec195ffa069b6a1df21b (patch)
tree44761e753e905fa06367b67f8e42b84f0f47140f /libsolidity/parsing
parentf19cddd59e5d5389a47098ab9ae5ec0f1c5213f9 (diff)
downloaddexon-solidity-977ac9c390d034232afdec195ffa069b6a1df21b.tar.gz
dexon-solidity-977ac9c390d034232afdec195ffa069b6a1df21b.tar.zst
dexon-solidity-977ac9c390d034232afdec195ffa069b6a1df21b.zip
Refactor handling of whitespace.
Diffstat (limited to 'libsolidity/parsing')
-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 30fdf21d..a334846f 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();