Skip to content

Commit 23dc580

Browse files
committed
Key Value Options: add support for trailing semicolon
1 parent 74396a1 commit 23dc580

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/parser/mod.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18421,7 +18421,12 @@ impl<'a> Parser<'a> {
1842118421
self.prev_token();
1842218422
break;
1842318423
}
18424-
_ => return self.expected("another option, EOF, SemiColon, Comma or ')'", self.peek_token()),
18424+
_ => {
18425+
return self.expected(
18426+
"another option, EOF, SemiColon, Comma or ')'",
18427+
self.peek_token(),
18428+
)
18429+
}
1842518430
};
1842618431
}
1842718432

0 commit comments

Comments
 (0)