Handle trailing semicolons in Value
This commit is contained in:
parent
ddb5b6f32a
commit
bb22fb3464
@ -159,6 +159,7 @@ impl Value {
|
||||
None => return Some(left),
|
||||
};
|
||||
match next.kind {
|
||||
TokenKind::Symbol(Symbol::SemiColon) => return Some(left),
|
||||
TokenKind::Symbol(Symbol::Comma) => {
|
||||
toks.next();
|
||||
devour_whitespace_or_comment(toks);
|
||||
|
Loading…
x
Reference in New Issue
Block a user