Repository navigation
fix(lib): Consider subtree lookahead bytes when determining whether the parser can reuse a node. - #5656
Merged
Conversation
parser can reuse a node. Lookahead bytes can be used to decide what a node is parsed as, so it's resaonable to consider this as part of a node's "range" when deciding which edits affect it. (cherry picked from commit 15ddfb2)
2 tasks done
social4hyq
pushed a commit
to social4hyq/homebrew-core
that referenced
this pull request
Sep 20, 2026
tree-sitter 0.26.10 Created-by: HarmonybrewBot Commit-by: HarmonybrewBot Merged-by: HarmonybrewBot Description: Created by `brew bump` --- Created with `brew bump-formula-pr`.<details> <summary>release notes</summary> <pre>## What's Changed * fix(lib): update doc comment for `ts_parser_parse` by @WillLillis in tree-sitter/tree-sitter#5642 * fix(lib): use correct TREE_SITTER_HIDE_SYMBOLS macro name in alloc.h by @tree-sitter-ci-bot[bot] in tree-sitter/tree-sitter#5643 * fix(cli): improve soundness of cst range calculation by @WillLillis in tree-sitter/tree-sitter#5650 * fix(lib): Consider subtree lookahead bytes when determining whether the parser can reuse a node. by @tree-sitter-ci-bot[bot] in tree-sitter/tree-sitter#5656 * fix(cli): display warning to user if parser test corpus dir isn't found by @tree-sitter-ci-bot[bot] in tree-sitter/tree-sitter#5669 * fix: add DESCRIPTION to grammar Makefile template by @WillLillis in tree-sitter/tree-sitter#5672 * fix(cli): infinite loop in highlight test by @WillLillis in tree-sitter/tree-sitter#5674 * fix(lib): address strict aliasing violations in `TreeCursor` type by @WillLillis in tree-sitter/tree-sitter#5693 * build(deps): bump wasmtime-c-api to v36.0.12 by @clason in tree-sitter/tree-sitter#5709 * fix(dsl): forbid invalid field names by @WillLillis in tree-sitter/tree-sitter#5710 * Fix issues with queries matching a parent node with anchored children (siblings) by @tree-sitter-ci-bot[bot] in tree-sitter/tree-sitter#5712 * test(query): regression test for anchored siblings inside a parent by @tree-sitter-ci-bot[bot] in tree-sitter/tree-sitter#5716 * release v0.26.10 by @WillLillis in tree-sitter/tree-sitter#5717 **Full Changelog**: https://github.com/tree-sitter/tree-sitter/compare/v0.26.9...v0.26.10</pre> <p>View the full release notes at <a href="/web-api/iframe-proxy?url=https://github.comhttps://github.com/tree-sitter/tree-sitter/releases/tag/v0.26.10">https://github.com/tree-sitter/tree-sitter/releases/tag/v0.26.10</a>.</p> </details> <hr> See merge request: Harmonybrew/homebrew-core!12906
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Backport of #5641 to
release-0.26.