@@ -481,18 +481,6 @@ namespace Sass {
481
481
ATTACH_OPERATIONS ()
482
482
};
483
483
484
- // ///////////////////////////////////////////////////////
485
- // Nested declaration sets (i.e., namespaced properties).
486
- // ///////////////////////////////////////////////////////
487
- class Propset : public Has_Block {
488
- ADD_PROPERTY (String*, property_fragment)
489
- public:
490
- Propset (ParserState pstate, String* pf, Block* b = 0 )
491
- : Has_Block(pstate, b), property_fragment_(pf)
492
- { }
493
- ATTACH_OPERATIONS ()
494
- };
495
-
496
484
// ///////////////
497
485
// Bubble.
498
486
// ///////////////
@@ -580,15 +568,15 @@ namespace Sass {
580
568
// //////////////////////////////////////////////////////////////////////
581
569
// Declarations -- style rules consisting of a property name and values.
582
570
// //////////////////////////////////////////////////////////////////////
583
- class Declaration : public Statement {
571
+ class Declaration : public Has_Block {
584
572
ADD_PROPERTY (String*, property)
585
573
ADD_PROPERTY (Expression*, value)
586
574
ADD_PROPERTY (bool , is_important)
587
575
ADD_PROPERTY (bool , is_indented)
588
576
public:
589
577
Declaration (ParserState pstate,
590
- String* prop, Expression* val, bool i = false )
591
- : Statement (pstate), property_(prop), value_(val), is_important_(i), is_indented_(false )
578
+ String* prop, Expression* val, bool i = false , Block* b = 0 )
579
+ : Has_Block (pstate, b ), property_(prop), value_(val), is_important_(i), is_indented_(false )
592
580
{ statement_type (DECLARATION); }
593
581
ATTACH_OPERATIONS ()
594
582
};
0 commit comments