diff options
Diffstat (limited to 'AST.h')
-rwxr-xr-x | AST.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1127,7 +1127,8 @@ public: }; Literal(Location const& _location, Token::Value _token, ASTPointer<ASTString> const& _value, - Token::Value _sub = Token::ILLEGAL); + SubDenomination _sub = SubDenomination::None): + PrimaryExpression(_location), m_token(_token), m_value(_value), m_subDenomination(_sub) {} virtual void accept(ASTVisitor& _visitor) override; virtual void accept(ASTConstVisitor& _visitor) const override; virtual void checkTypeRequirements() override; |