Skip to content

Commit

Permalink
BOM is equivalent to whitespace in KDLv1
Browse files Browse the repository at this point in the history
fixes #8
  • Loading branch information
tjol committed May 14, 2024
1 parent 4fab259 commit 817e670
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tokenizer.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ bool _kdl_is_whitespace(uint32_t c)
c == 0x200A || // Hair Space
c == 0x202F || // Narrow No-Break Space
c == 0x205F || // Medium Mathematical Space
c == 0x3000; // Ideographic Space
c == 0x3000 || // Ideographic Space
c == 0xFEFF; // Byte-order mark
}

bool _kdl_is_newline(uint32_t c)
Expand Down

0 comments on commit 817e670

Please sign in to comment.