From 10c25da521f59ad41fde62c031f2eaf69820b76b Mon Sep 17 00:00:00 2001 From: Marcel Greter Date: Sat, 17 Mar 2018 04:09:52 +0100 Subject: [PATCH] Make Value inherit from PreValue --- src/ast.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ast.hpp b/src/ast.hpp index dd6d2d1d2..ae79d785d 100644 --- a/src/ast.hpp +++ b/src/ast.hpp @@ -209,14 +209,14 @@ namespace Sass { ////////////////////////////////////////////////////////////////////// // base class for values that support operations ////////////////////////////////////////////////////////////////////// - class Value : public Expression { + class Value : public PreValue { public: Value(ParserState pstate, bool d = false, bool e = false, bool i = false, Concrete_Type ct = NONE) - : Expression(pstate, d, e, i, ct) + : PreValue(pstate, d, e, i, ct) { } Value(const Value* ptr) - : Expression(ptr) + : PreValue(ptr) { } ATTACH_VIRTUAL_AST_OPERATIONS(Value); virtual bool operator== (const Expression& rhs) const = 0;