Skip to content
This repository was archived by the owner on Jun 14, 2019. It is now read-only.

Commit c58cdb4

Browse files
committed
Don't error when blocks terminated by ;
1 parent 84af4a5 commit c58cdb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ namespace Sass {
609609
Comment* comment = new (ctx.mem) Comment(path, source_position, contents);
610610
(*block) << comment;
611611
}
612-
if (lex< exactly<'}'> >()) break;
612+
if (lex< sequence< exactly<'}'>, zero_plus< exactly<';'> > > >()) break;
613613
}
614614
if (lex< block_comment >()) {
615615
String* contents = parse_interpolated_chunk(lexed);

0 commit comments

Comments
 (0)