diff options
author | Christian <c@ethdev.com> | 2015-02-06 20:38:10 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2015-02-06 20:38:29 +0800 |
commit | 82edc1ca6d694ad022c6b0e251da70393dfeb38a (patch) | |
tree | 862dc4a01f217ae4a71feb90f64cd901bda2b32a /AST.cpp | |
parent | 16fc2d651e1a96e3f86d98a8b3fb1fa43c9b20c1 (diff) | |
download | dexon-solidity-82edc1ca6d694ad022c6b0e251da70393dfeb38a.tar.gz dexon-solidity-82edc1ca6d694ad022c6b0e251da70393dfeb38a.tar.zst dexon-solidity-82edc1ca6d694ad022c6b0e251da70393dfeb38a.zip |
Some fixes for the ether units parser.
Diffstat (limited to 'AST.cpp')
-rw-r--r-- | AST.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -596,17 +596,6 @@ void ElementaryTypeNameExpression::checkTypeRequirements() m_type = make_shared<TypeType>(Type::fromElementaryTypeName(m_typeToken)); } -Literal::Literal(Location const& _location, Token::Value _token, - ASTPointer<ASTString> const& _value, - Token::Value _sub): - PrimaryExpression(_location), m_token(_token), m_value(_value) -{ - if (Token::isEtherSubdenomination(_sub)) - m_subDenomination = static_cast<Literal::SubDenomination>(_sub); - else - m_subDenomination = Literal::SubDenomination::None; -} - void Literal::checkTypeRequirements() { m_type = Type::forLiteral(*this); |