From 1795995b98ef8f0ceb339fa13fb3dfce3df54785 Mon Sep 17 00:00:00 2001 From: pagedmov Date: Tue, 3 Mar 2026 22:34:17 -0500 Subject: [PATCH] fixed parser bug introduced in recent commit --- src/parse/lex.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parse/lex.rs b/src/parse/lex.rs index 8696688..f6e9d92 100644 --- a/src/parse/lex.rs +++ b/src/parse/lex.rs @@ -846,7 +846,7 @@ impl Iterator for LexStream { while let Some(ch) = get_char(&self.source, self.cursor) { match ch { - '\\' => { + '\\' if get_char(&self.source, self.cursor + 1) == Some('\n') => { self.cursor = (self.cursor + 2).min(self.source.len()); } _ if is_hard_sep(ch) => {