mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-13 08:56:23 -04:00
Explicitly casting NULL to (Subtree *) in the ternary expression ensures type consistency. This resolves ambiguous type inference issues encountered by strict static analysis tools and C-to-Go transpilers (like ccgo). Signed-off-by: lucasew <lucas59356@gmail.com> |
||
|---|---|---|
| .. | ||
| 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