Skip to content

Commit af26014

Browse files
committed
Fix a few MSVC compiler warnings
1 parent 6dde604 commit af26014

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/parser.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ namespace Sass {
10651065
return SASS_MEMORY_NEW(List, pstate, 0, SASS_SPACE, false, true);
10661066
}
10671067

1068-
bool has_paren = peek_css< exactly<'('> >();
1068+
bool has_paren = peek_css< exactly<'('> >() != NULL;
10691069

10701070
// now try to parse a space list
10711071
Expression_Obj list = parse_space_list();
@@ -1077,8 +1077,8 @@ namespace Sass {
10771077
bracketed_list->append(&list);
10781078
return &bracketed_list;
10791079
}
1080-
l->is_bracketed(&list);
1081-
return &l;
1080+
l->is_bracketed(true);
1081+
return &l;
10821082
}
10831083

10841084
// if we got so far, we actually do have a comma list

0 commit comments

Comments
 (0)