Skip to content

Commit

Permalink
Merge pull request #2234 from xzyfer/fix/issue-2233
Browse files Browse the repository at this point in the history
Don't error when an @import is terminated by the end of the block
  • Loading branch information
xzyfer authored Dec 5, 2016
2 parents 0ff2474 + f0d71ab commit 0443d7f
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 @@ -345,7 +345,7 @@ namespace Sass {
first = false;
} while (lex_css< exactly<','> >());

if (!peek_css<alternatives<exactly<';'>,end_of_file>>()) {
if (!peek_css< alternatives< exactly<';'>, exactly<'}'>, end_of_file > >()) {
List* media_queries = parse_media_queries();
imp->media_queries(media_queries);
}
Expand Down

0 comments on commit 0443d7f

Please # to comment.