From a0bb9991b87a661aa0b072e6f143d8f1ba1a2dd4 Mon Sep 17 00:00:00 2001 From: reilly Date: Sat, 7 Oct 2023 21:22:35 +0800 Subject: [PATCH] [fix] fix_repeat Signed-off-by: reilly --- src/parser/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/parser/mod.rs b/src/parser/mod.rs index f2bf76f..e524119 100644 --- a/src/parser/mod.rs +++ b/src/parser/mod.rs @@ -1132,7 +1132,6 @@ impl Parser { let column = self.next_ident()?; self.next_expected_token(Token::Equal)?; self.next_token(); - let expr = self.parse_expression(Precedence::Lowest)?; let expr = match self.parse_expression(Precedence::Lowest)? { Some(e) => e, None => return Err(Error::ParseErr(fmt_err!("expr can not be none"))),