File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ namespace Sass {
56
56
case SASS_COMMA: return " , " ;
57
57
case SASS_SPACE: return " " ;
58
58
case SASS_DIV: return " / " ;
59
+ default : return " " ;
59
60
}
60
- return " " ;
61
61
}
62
62
63
63
// ///////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change @@ -384,12 +384,13 @@ namespace Sass {
384
384
case PLUS: strm << Character::$plus; break ;
385
385
case MINUS: strm << Character::$minus; break ;
386
386
case SLASH: strm << Character::$slash; break ;
387
+ default : break ;
387
388
}
388
389
if (optype_ == NOT) {
389
390
strm << Character::$space;
390
391
}
391
392
strm << operand_->toString ();
392
- return strm.str ();;
393
+ return strm.str ();
393
394
}
394
395
395
396
// ///////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change @@ -614,7 +614,7 @@ namespace Sass {
614
614
else if (const List* list = isaList ()) {
615
615
if (list->empty ()) return false ;
616
616
sass::vector<sass::string> result;
617
- if (list->separator () != SASS_SPACE ) {
617
+ if (list->separator () == SASS_COMMA ) {
618
618
for (auto complex : list->elements ()) {
619
619
List* cplxLst = complex->isaList ();
620
620
String* cplxStr = complex->isaString ();
@@ -627,6 +627,9 @@ namespace Sass {
627
627
else return false ;
628
628
}
629
629
}
630
+ else if (list->separator () == SASS_DIV) {
631
+ return false ;
632
+ }
630
633
else {
631
634
for (auto compound : list->elements ()) {
632
635
String* cmpdStr = compound->isaString ();
Original file line number Diff line number Diff line change @@ -663,8 +663,9 @@ namespace Sass {
663
663
return compressed ? " ," : " , " ;
664
664
case SASS_DIV:
665
665
return compressed ? " /" : " / " ;
666
+ default :
667
+ return " " ;
666
668
}
667
- return " " ;
668
669
}
669
670
670
671
void Inspect::visitList (List* list)
You can’t perform that action at this time.
0 commit comments