fix assertion failed for break_last_token and trailing token

This commit is contained in:
yukang
2022-10-20 19:40:21 +08:00
parent 53728ff751
commit 2414357374
5 changed files with 36 additions and 5 deletions

View File

@@ -79,6 +79,7 @@ pub enum ForceCollect {
pub enum TrailingToken {
None,
Semi,
Gt,
/// If the trailing token is a comma, then capture it
/// Otherwise, ignore the trailing token
MaybeComma,