File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -987,7 +987,7 @@ namespace Sass {
987
987
if (lex< sequence< optional< exactly<' *' > >, identifier_schema > >()) {
988
988
prop = parse_identifier_schema ();
989
989
}
990
- else if (lex< sequence< optional< exactly<' *' > >, identifier > >()) {
990
+ else if (lex< sequence< optional< exactly<' *' > >, identifier, zero_plus< block_comment > > >()) {
991
991
prop = new (ctx.mem ) String_Constant (pstate, lexed);
992
992
prop->is_delayed (true );
993
993
}
@@ -997,6 +997,7 @@ namespace Sass {
997
997
bool is_indented = true ;
998
998
const string property (lexed);
999
999
if (!lex_css< one_plus< exactly<' :' > > >()) error (" property \" " + property + " \" must be followed by a ':'" , pstate);
1000
+ lex < optional_css_comments >();
1000
1001
if (peek_css< exactly<' ;' > >()) error (" style declaration must contain a value" , pstate);
1001
1002
if (peek_css< exactly<' {' > >()) is_indented = false ; // don't indent if value is empty
1002
1003
if (peek_css< static_value >()) {
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ namespace Sass {
33
33
const char * block_comment (const char * src)
34
34
{
35
35
return sequence<
36
- zero_plus < space >,
37
36
delimited_by<
38
37
slash_star,
39
38
star_slash,
You can’t perform that action at this time.
0 commit comments