mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:36:22 -04:00
The early `ts_parser__recover` dispatch for `ERROR_STATE` in `ts_parser__advance` was dropped in `201b41cf1`. Without it, tokens with no valid action re-enter `ts_parser__handle_error` per token and fragment the tree instead of extending one ERROR node. Restore it to recover the old (pre-0.25) error recovery behavior. |
||
|---|---|---|
| .. | ||
| binding_rust | ||
| binding_web | ||
| include/tree_sitter | ||
| lldb_pretty_printers | ||
| src | ||
| .ccls | ||
| Cargo.toml | ||
| LICENSE | ||
| package.nix | ||
| README.md | ||
| tree-sitter.pc.in | ||
Subdirectories
src- C source code for the Tree-sitter libraryinclude- C headers for the Tree-sitter librarybinding_rust- Rust bindings to the Tree-sitter librarybinding_web- JavaScript bindings to the Tree-sitter library, using WebAssembly