Skip to content

Commit

Permalink
fix: not generated column mapping for token splited by white_space
Browse files Browse the repository at this point in the history
  • Loading branch information
hardfist committed Jan 8, 2025
1 parent a847aae commit d1c9424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d1c9424

Please sign in to comment.