Skip to content

Commit

Permalink
Merge pull request #2389 from mgreter/bugfix/issue-2365
Browse files Browse the repository at this point in the history
Error for trailing rulesets comma (#2365)
  • Loading branch information
mgreter authored May 20, 2017
2 parents 4d5d61d + 282ec73 commit f890f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ namespace Sass {
Selector_List_Obj group = SASS_MEMORY_NEW(Selector_List, pstate);
group->media_block(last_media_block);

if (peek_css< alternatives < end_of_file, exactly <'{'> > >()) {
if (peek_css< alternatives < end_of_file, exactly <'{'>, exactly <','> > >()) {
css_error("Invalid CSS", " after ", ": expected selector, was ");
}

Expand Down

0 comments on commit f890f13

Please sign in to comment.