Skip to content

Commit 9e38152

Browse files
committed
Mark variables as a concrete type
1 parent 604c1da commit 9e38152

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/ast.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ namespace Sass {
169169
C_WARNING,
170170
C_ERROR,
171171
FUNCTION,
172+
VARIABLE,
172173
NUM_TYPES
173174
};
174175
enum Simple_Type {
@@ -1512,10 +1513,10 @@ namespace Sass {
15121513
public:
15131514
Variable(ParserState pstate, std::string n)
15141515
: PreValue(pstate), name_(n)
1515-
{ }
1516+
{ concrete_type(VARIABLE); }
15161517
Variable(const Variable* ptr)
15171518
: PreValue(ptr), name_(ptr->name_)
1518-
{ }
1519+
{ concrete_type(VARIABLE); }
15191520

15201521
virtual bool operator==(const Expression& rhs) const
15211522
{

0 commit comments

Comments
 (0)