GitNexus/gitnexus/src/core/tree-sitter
Gergő Magyar accf61c672
fix(tree-sitter): recover declarations after embedded NUL bytes (#2430)
* fix(tree-sitter): recover from embedded NUL bytes

Normalize embedded NUL bytes only in parser input so tree-sitter keeps recovering through the full source shape. Pass the file label through the worker for diagnostics and cover both direct-string and callback parse paths with regression tests.

* fix(review): align safe-parser contract count

* test(tree-sitter): cover worker NUL diagnostics (#2430)
2026-07-11 08:33:50 +01:00
..
parser-loader.ts fix(grammars): load vendored tree-sitter grammars from vendor/ by absolute path (#2111) (#2144) 2026-06-10 14:20:42 +01:00
safe-parse.ts fix(tree-sitter): recover declarations after embedded NUL bytes (#2430) 2026-07-11 08:33:50 +01:00
vendored-grammars.ts fix(grammars): load vendored tree-sitter grammars from vendor/ by absolute path (#2111) (#2144) 2026-06-10 14:20:42 +01:00