From bb22fb3464d587c795e3435dc2889f90b6b46cb8 Mon Sep 17 00:00:00 2001 From: ConnorSkees <39542938+ConnorSkees@users.noreply.github.com> Date: Sat, 25 Jan 2020 14:11:32 -0500 Subject: [PATCH] Handle trailing semicolons in `Value` --- src/value.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/value.rs b/src/value.rs index 00fed93..c601bd8 100644 --- a/src/value.rs +++ b/src/value.rs @@ -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);