aboutsummaryrefslogtreecommitdiffstats
path: root/AST.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AST.cpp')
-rw-r--r--AST.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/AST.cpp b/AST.cpp
index 307168ed..455dc44a 100644
--- a/AST.cpp
+++ b/AST.cpp
@@ -599,10 +599,10 @@ Literal::Literal(Location const& _location, Token::Value _token,
Token::Value _sub):
PrimaryExpression(_location), m_token(_token), m_value(_value)
{
- if(Token::isEtherSubdenomination(_sub))
- m_subDenomination = static_cast<Literal::ethSubDenomination>(_sub);
+ if (Token::isEtherSubdenomination(_sub))
+ m_subDenomination = static_cast<Literal::SubDenomination>(_sub);
else
- m_subDenomination = Literal::ethSubDenomination::NONE;
+ m_subDenomination = Literal::SubDenomination::NONE;
}
void Literal::checkTypeRequirements()