Skip to content

Commit

Permalink
🐛 (parser): Fix panic mode skipping over the second token
Browse files Browse the repository at this point in the history
semver: patch
  • Loading branch information
Somfic committed Jun 13, 2024
1 parent 51a4070 commit 3ee82fd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ impl<'a> Parser<'a> {
statements.push(statement);
}
Err(diagnostic) => {
self.cursor += 1;
current_error = Some((diagnostic, last_safe_cursor));
}
};
Expand Down

0 comments on commit 3ee82fd

Please sign in to comment.