From 3ee82fd4eb4723107733542b165c5f88becd6727 Mon Sep 17 00:00:00 2001 From: Lucas Date: Thu, 13 Jun 2024 15:29:10 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20(parser):=20Fix=20panic=20mode?= =?UTF-8?q?=20skipping=20over=20the=20second=20token?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit semver: patch --- src/parser/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/parser/mod.rs b/src/parser/mod.rs index 25ec740..bbdc69e 100644 --- a/src/parser/mod.rs +++ b/src/parser/mod.rs @@ -62,7 +62,6 @@ impl<'a> Parser<'a> { statements.push(statement); } Err(diagnostic) => { - self.cursor += 1; current_error = Some((diagnostic, last_safe_cursor)); } };