From 68d0b8d334c56421e5cd43d1f920263b809255e5 Mon Sep 17 00:00:00 2001 From: Erin Date: Thu, 29 Jul 2021 18:17:08 +0200 Subject: [PATCH] Not fails on cart contruction parsing, does nothing. --- src/parser.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/parser.rs b/src/parser.rs index fa6d118..45d4dfd 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -233,7 +233,9 @@ impl<'source> Parser<'source> { /// Flow for creating carts fn cart_flow(&mut self) -> Result { - todo!("cart construction") + let mut cart = vec![]; + + Ok(ExprKind::Cart(cart)) } /// Flow for operators