Commit a5408222 by Aaron Leung

Don't need this flag anymore.

parent 29a8a68e
...@@ -83,7 +83,6 @@ namespace Sass { ...@@ -83,7 +83,6 @@ namespace Sass {
bool has_backref; bool has_backref;
bool from_variable; bool from_variable;
bool eval_me; bool eval_me;
bool is_hex;
Node() : type(nil), children(0) { ++fresh; } Node() : type(nil), children(0) { ++fresh; }
...@@ -98,8 +97,7 @@ namespace Sass { ...@@ -98,8 +97,7 @@ namespace Sass {
has_propsets(n.has_propsets), has_propsets(n.has_propsets),
has_backref(n.has_backref), has_backref(n.has_backref),
from_variable(n.from_variable), from_variable(n.from_variable),
eval_me(n.eval_me), eval_me(n.eval_me)
is_hex(n.is_hex)
{ /*n.release();*/ ++copied; } // No joint custody. { /*n.release();*/ ++copied; } // No joint custody.
Node(size_t line_number, Type type, size_t length = 0) Node(size_t line_number, Type type, size_t length = 0)
...@@ -113,8 +111,7 @@ namespace Sass { ...@@ -113,8 +111,7 @@ namespace Sass {
has_propsets(false), has_propsets(false),
has_backref(false), has_backref(false),
from_variable(false), from_variable(false),
eval_me(false), eval_me(false)
is_hex(false)
{ children->reserve(length); ++fresh; } { children->reserve(length); ++fresh; }
Node(size_t line_number, Type type, const Node& n) Node(size_t line_number, Type type, const Node& n)
...@@ -128,8 +125,7 @@ namespace Sass { ...@@ -128,8 +125,7 @@ namespace Sass {
has_propsets(false), has_propsets(false),
has_backref(false), has_backref(false),
from_variable(false), from_variable(false),
eval_me(false), eval_me(false)
is_hex(false)
{ ++fresh; } { ++fresh; }
Node(size_t line_number, Type type, const Node& n, const Node& m) Node(size_t line_number, Type type, const Node& n, const Node& m)
...@@ -143,8 +139,7 @@ namespace Sass { ...@@ -143,8 +139,7 @@ namespace Sass {
has_propsets(false), has_propsets(false),
has_backref(false), has_backref(false),
from_variable(false), from_variable(false),
eval_me(false), eval_me(false)
is_hex(false)
{ {
children->reserve(2); children->reserve(2);
children->push_back(n); children->push_back(n);
...@@ -163,8 +158,7 @@ namespace Sass { ...@@ -163,8 +158,7 @@ namespace Sass {
has_propsets(false), has_propsets(false),
has_backref(false), has_backref(false),
from_variable(false), from_variable(false),
eval_me(false), eval_me(false)
is_hex(false)
{ ++fresh; } { ++fresh; }
Node(size_t line_number, double d) Node(size_t line_number, double d)
...@@ -178,8 +172,7 @@ namespace Sass { ...@@ -178,8 +172,7 @@ namespace Sass {
has_propsets(false), has_propsets(false),
has_backref(false), has_backref(false),
from_variable(false), from_variable(false),
eval_me(false), eval_me(false)
is_hex(false)
{ ++fresh; } { ++fresh; }
Node(size_t line_number, double d, Token& token) Node(size_t line_number, double d, Token& token)
...@@ -193,8 +186,7 @@ namespace Sass { ...@@ -193,8 +186,7 @@ namespace Sass {
has_propsets(false), has_propsets(false),
has_backref(false), has_backref(false),
from_variable(false), from_variable(false),
eval_me(false), eval_me(false)
is_hex(false)
{ ++fresh; } { ++fresh; }
Node(size_t line_number, double a, double b, double c) Node(size_t line_number, double a, double b, double c)
...@@ -208,8 +200,7 @@ namespace Sass { ...@@ -208,8 +200,7 @@ namespace Sass {
has_propsets(false), has_propsets(false),
has_backref(false), has_backref(false),
from_variable(false), from_variable(false),
eval_me(false), eval_me(false)
is_hex(true)
{ {
children->reserve(3); children->reserve(3);
children->push_back(Node(line_number, a)); children->push_back(Node(line_number, a));
...@@ -243,7 +234,6 @@ namespace Sass { ...@@ -243,7 +234,6 @@ namespace Sass {
has_backref = n.has_backref; has_backref = n.has_backref;
from_variable = n.from_variable; from_variable = n.from_variable;
eval_me = n.eval_me; eval_me = n.eval_me;
is_hex = n.is_hex;
++copied; ++copied;
return *this; return *this;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment