Skip to content

Commit 5c96e56

Browse files
committed
Key Value Options: add support for trailing semicolon
1 parent 334264f commit 5c96e56

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
@@ -18792,7 +18792,12 @@ impl<'a> Parser<'a> {
1879218792
self.prev_token();
1879318793
break;
1879418794
}
18795-
_ => return self.expected("another option, EOF, SemiColon, Comma or ')'", self.peek_token()),
18795+
_ => {
18796+
return self.expected(
18797+
"another option, EOF, SemiColon, Comma or ')'",
18798+
self.peek_token(),
18799+
)
18800+
}
1879618801
};
1879718802
}
1879818803

0 commit comments

Comments
 (0)