mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:36:22 -04:00
Problem: In queries matching a parent node with anchored children (siblings) where the first sibling has a quantifier and is not captured, the check for fallible steps skips splitting the state because the next node is a passthrough node (and not an is_immediate one). This prevents the query from matching beyond the first occurrence. Solution: In the check for fallible steps, skip the next steps if they are passthrough steps. |
||
|---|---|---|
| .. | ||
| 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