From d1c9424661d973c529355564234f64a49a2de114 Mon Sep 17 00:00:00 2001 From: hardfist Date: Wed, 8 Jan 2025 14:12:45 +0800 Subject: [PATCH] fix: not generated column mapping for token splited by white_space --- src/helpers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers.rs b/src/helpers.rs index ff7e9f90..0fd82be3 100644 --- a/src/helpers.rs +++ b/src/helpers.rs @@ -151,7 +151,7 @@ where if let Some(c) = self.source.get_byte(self.index) { let start = self.index; let mut c = char::from(c); - while c != '\n' && c != ';' && c != '{' && c != '}' { + while c != '\n' && c != ';' && c != '{' && c != '}' && c != ' ' { self.index += 1; if let Some(ch) = self.source.get_byte(self.index) { c = char::from(ch);