diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-10 16:52:19 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-10 16:52:19 +0800 |
commit | 82c5fb32458309866033e12b8930a450753bc0bd (patch) | |
tree | 1657a824ff350199cb7454944abc280e35d61f28 /Scanner.cpp | |
parent | 943407e0fee2999ddeadb12fce417885d3fa59b7 (diff) | |
download | dexon-solidity-82c5fb32458309866033e12b8930a450753bc0bd.tar.gz dexon-solidity-82c5fb32458309866033e12b8930a450753bc0bd.tar.zst dexon-solidity-82c5fb32458309866033e12b8930a450753bc0bd.zip |
Addressing issues in Enum style fix
Diffstat (limited to 'Scanner.cpp')
-rw-r--r-- | Scanner.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Scanner.cpp b/Scanner.cpp index 8d2530b9..fc4bdb6b 100644 --- a/Scanner.cpp +++ b/Scanner.cpp @@ -401,7 +401,7 @@ void Scanner::scanToken() // < <= << <<= advance(); if (m_char == '=') - token = selectToken(Token::LessThanOrEquals); + token = selectToken(Token::LessThanOrEqual); else if (m_char == '<') token = selectToken('=', Token::AssignShl, Token::SHL); else @@ -411,7 +411,7 @@ void Scanner::scanToken() // > >= >> >>= >>> >>>= advance(); if (m_char == '=') - token = selectToken(Token::GreaterThanOrEquals); + token = selectToken(Token::GreaterThanOrEqual); else if (m_char == '>') { // >> >>= >>> >>>= @@ -430,7 +430,7 @@ void Scanner::scanToken() // = == => advance(); if (m_char == '=') - token = selectToken(Token::Equals); + token = selectToken(Token::Equal); else if (m_char == '>') token = selectToken(Token::Arrow); else @@ -440,7 +440,7 @@ void Scanner::scanToken() // ! != advance(); if (m_char == '=') - token = selectToken(Token::NotEquals); + token = selectToken(Token::NotEqual); else token = Token::Not; break; |