Skip to content

Commit 10c25da

Browse files
committed
Make Value inherit from PreValue
1 parent 064d6de commit 10c25da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ast.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,14 +209,14 @@ namespace Sass {
209209
//////////////////////////////////////////////////////////////////////
210210
// base class for values that support operations
211211
//////////////////////////////////////////////////////////////////////
212-
class Value : public Expression {
212+
class Value : public PreValue {
213213
public:
214214
Value(ParserState pstate,
215215
bool d = false, bool e = false, bool i = false, Concrete_Type ct = NONE)
216-
: Expression(pstate, d, e, i, ct)
216+
: PreValue(pstate, d, e, i, ct)
217217
{ }
218218
Value(const Value* ptr)
219-
: Expression(ptr)
219+
: PreValue(ptr)
220220
{ }
221221
ATTACH_VIRTUAL_AST_OPERATIONS(Value);
222222
virtual bool operator== (const Expression& rhs) const = 0;

0 commit comments

Comments
 (0)