@@ -1213,20 +1213,20 @@ namespace Sass {
12131213 List* l1 = dynamic_cast <List*>(env[" $list1" ]);
12141214 List* l2 = dynamic_cast <List*>(env[" $list2" ]);
12151215 String_Constant* sep = ARG (" $separator" , String_Constant);
1216- List::Separator sep_val = (l1 ? l1->separator () : List::SPACE );
1216+ enum Sass_Separator sep_val = (l1 ? l1->separator () : SASS_SPACE );
12171217 if (!l1) {
12181218 l1 = new (ctx.mem ) List (pstate, 1 );
12191219 *l1 << ARG (" $list1" , Expression);
1220- sep_val = (l2 ? l2->separator () : List::SPACE );
1220+ sep_val = (l2 ? l2->separator () : SASS_SPACE );
12211221 }
12221222 if (!l2) {
12231223 l2 = new (ctx.mem ) List (pstate, 1 );
12241224 *l2 << ARG (" $list2" , Expression);
12251225 }
12261226 size_t len = l1->length () + l2->length ();
12271227 string sep_str = unquote (sep->value ());
1228- if (sep_str == " space" ) sep_val = List::SPACE ;
1229- else if (sep_str == " comma" ) sep_val = List::COMMA ;
1228+ if (sep_str == " space" ) sep_val = SASS_SPACE ;
1229+ else if (sep_str == " comma" ) sep_val = SASS_COMMA ;
12301230 else if (sep_str != " auto" ) error (" argument `$separator` of `" + string (sig) + " ` must be `space`, `comma`, or `auto`" , pstate);
12311231 List* result = new (ctx.mem ) List (pstate, len, sep_val);
12321232 *result += l1;
@@ -1246,8 +1246,8 @@ namespace Sass {
12461246 }
12471247 List* result = new (ctx.mem ) List (pstate, l->length () + 1 , l->separator ());
12481248 string sep_str (unquote (sep->value ()));
1249- if (sep_str == " space" ) result->separator (List::SPACE );
1250- else if (sep_str == " comma" ) result->separator (List::COMMA );
1249+ if (sep_str == " space" ) result->separator (SASS_SPACE );
1250+ else if (sep_str == " comma" ) result->separator (SASS_COMMA );
12511251 else if (sep_str != " auto" ) error (" argument `$separator` of `" + string (sig) + " ` must be `space`, `comma`, or `auto`" , pstate);
12521252 *result += l;
12531253 bool is_arglist = l->is_arglist ();
@@ -1283,7 +1283,7 @@ namespace Sass {
12831283 }
12841284 shortest = (i ? std::min (shortest, ith->length ()) : ith->length ());
12851285 }
1286- List* zippers = new (ctx.mem ) List (pstate, shortest, List::COMMA );
1286+ List* zippers = new (ctx.mem ) List (pstate, shortest, SASS_COMMA );
12871287 size_t L = arglist->length ();
12881288 for (size_t i = 0 ; i < shortest; ++i) {
12891289 List* zipper = new (ctx.mem ) List (pstate, L);
@@ -1304,7 +1304,7 @@ namespace Sass {
13041304 *l << ARG (" $list" , Expression);
13051305 }
13061306 return new (ctx.mem ) String_Quoted (pstate,
1307- l->separator () == List::COMMA ? " comma" : " space" );
1307+ l->separator () == SASS_COMMA ? " comma" : " space" );
13081308 }
13091309
13101310 // ///////////////
@@ -1336,7 +1336,7 @@ namespace Sass {
13361336 BUILT_IN (map_keys)
13371337 {
13381338 Map* m = ARGM (" $map" , Map, ctx);
1339- List* result = new (ctx.mem ) List (pstate, m->length (), List::COMMA );
1339+ List* result = new (ctx.mem ) List (pstate, m->length (), SASS_COMMA );
13401340 for ( auto key : m->keys ()) {
13411341 *result << key;
13421342 }
@@ -1347,7 +1347,7 @@ namespace Sass {
13471347 BUILT_IN (map_values)
13481348 {
13491349 Map* m = ARGM (" $map" , Map, ctx);
1350- List* result = new (ctx.mem ) List (pstate, m->length (), List::COMMA );
1350+ List* result = new (ctx.mem ) List (pstate, m->length (), SASS_COMMA );
13511351 for ( auto key : m->keys ()) {
13521352 *result << m->at (key);
13531353 }
@@ -1746,7 +1746,7 @@ namespace Sass {
17461746 Compound_Selector* sel = ARGSEL (" $selector" , Compound_Selector, p_contextualize);
17471747
17481748 To_String to_string;
1749- List* l = new (ctx.mem ) List (sel->pstate (), sel->length (), List::COMMA );
1749+ List* l = new (ctx.mem ) List (sel->pstate (), sel->length (), SASS_COMMA );
17501750
17511751 for (size_t i = 0 , L = sel->length (); i < L; ++i) {
17521752 Simple_Selector* ss = (*sel)[i];
0 commit comments