Skip to content

Commit

Permalink
Make Value inherit from PreValue
Browse files Browse the repository at this point in the history
  • Loading branch information
mgreter committed Mar 17, 2018
1 parent 064d6de commit 10c25da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ast.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 10c25da

Please sign in to comment.