From 82edc1ca6d694ad022c6b0e251da70393dfeb38a Mon Sep 17 00:00:00 2001 From: Christian Date: Fri, 6 Feb 2015 13:38:10 +0100 Subject: Some fixes for the ether units parser. --- AST.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'AST.cpp') diff --git a/AST.cpp b/AST.cpp index 156d51f2..0ec0eb0c 100644 --- a/AST.cpp +++ b/AST.cpp @@ -596,17 +596,6 @@ void ElementaryTypeNameExpression::checkTypeRequirements() m_type = make_shared(Type::fromElementaryTypeName(m_typeToken)); } -Literal::Literal(Location const& _location, Token::Value _token, - ASTPointer const& _value, - Token::Value _sub): - PrimaryExpression(_location), m_token(_token), m_value(_value) -{ - if (Token::isEtherSubdenomination(_sub)) - m_subDenomination = static_cast(_sub); - else - m_subDenomination = Literal::SubDenomination::None; -} - void Literal::checkTypeRequirements() { m_type = Type::forLiteral(*this); -- cgit