From 261786d909262e6cb4e9602cced76a3a22b7cb88 Mon Sep 17 00:00:00 2001 From: Christian Date: Sat, 21 Feb 2015 18:25:08 +0100 Subject: Allow conversion to dynamic arrays and update grammar. --- AST.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AST.h') diff --git a/AST.h b/AST.h index 594f8f4b..07b405c4 100644 --- a/AST.h +++ b/AST.h @@ -1102,7 +1102,7 @@ public: virtual void checkTypeRequirements() override; Expression const& getBaseExpression() const { return *m_base; } - Expression const& getIndexExpression() const { return *m_index; } + Expression const* getIndexExpression() const { return m_index.get(); } private: ASTPointer m_base; -- cgit