tree-sitter.tree-sitter/crates
Yudai Takada 351bd71e52
Some checks failed
CI / checks (push) Waiting to run
CI / sanitize (push) Failing after 16s
CI / build (push) Failing after 16s
CI / check-wasm-stdlib (push) Failing after 15s
fix(lib): decode UTF-16 surrogate pairs with input endianness (#5912)
Problem: Parsing UTF-16BE source containing supplementary-plane characters, such as `let emoji = "😀"`, decoded the emoji as two isolated surrogates on little-endian hosts, causing incorrect lexer lookahead and potentially shifted token boundaries.

Soluton: Fix the trailing surrogate byte-order conversion in both UTF-16LE and UTF-16BE decoders and adds a regression test for U+1F600.
2026-09-03 08:21:08 +02:00
..
cli fix(lib): decode UTF-16 surrogate pairs with input endianness (#5912) 2026-09-03 08:21:08 +02:00
config fix(toml): drop align_entries = true from .taplo.toml 2026-08-29 11:10:37 +02:00
generate fix(generate): defer token rewrites until lexical expansion 2026-08-30 14:23:29 -04:00
highlight fix(rust)!: expose QueryMatch::captures as a method 2026-08-30 02:58:20 -04:00
language fix(toml): drop align_entries = true from .taplo.toml 2026-08-29 11:10:37 +02:00
loader fix(toml): drop align_entries = true from .taplo.toml 2026-08-29 11:10:37 +02:00
tags fix(rust)!: expose QueryMatch::captures as a method 2026-08-30 02:58:20 -04:00
xtask fix(toml): drop align_entries = true from .taplo.toml 2026-08-29 11:10:37 +02:00