Skip to content

fix(parser): fix parsing bug repeat operator - #5829

Merged
clason merged 1 commit into
release-0.26from
backport-5824-to-release-0.26
Aug 7, 2026
Merged

clason merged 1 commit into
release-0.26from
backport-5824-to-release-0.26

Conversation

@tree-sitter-ci-bot

Copy link
Copy Markdown

Description

Backport of #5824 to release-0.26.

`ts_tree_cursor_current_status`

By terminating early on `has_later_siblings`, `has_later_named_siblings`
was incorrectly reported as `false` in some cases. This led to the
execution of some queries to terminate early.

Also remove some dead branches inside `ts_tree_cursor_current_status`.

Co-authored-by: Will Lillis <[email protected]>
(cherry picked from commit 308aee0)
@clason
clason merged commit 7566ffa into release-0.26 Aug 7, 2026
20 checks passed
@clason
clason deleted the backport-5824-to-release-0.26 branch August 7, 2026 22:20
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
tree-sitter 0.26.12

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(generate): fold case-insensitive patterns ourselves by @WillLillis in tree-sitter/tree-sitter#5761
* fix(query): keep the trailing anchor when a zero-matched quantifier is anchored on both sides by @tree-sitter-ci-bot[bot] in tree-sitter/tree-sitter#5764
* fix(templates): add C source files to Python sdist by @WillLillis in tree-sitter/tree-sitter#5765
* fix(init): don't lowercase repository url by @tree-sitter-ci-bot[bot] in tree-sitter/tree-sitter#5768
* fix(highlight): use `std::sync::OnceCell` for various loader fields by @WillLillis in tree-sitter/tree-sitter#5785
* fix(parser): restart recovery for invalid tokens in the error state by @tree-sitter-ci-bot[bot] in tree-sitter/tree-sitter#5792
* Fix associativity resolution with mixed shift precedences by @tree-sitter-ci-bot[bot] in tree-sitter/tree-sitter#5796
* fix(parser): fix parsing bug repeat operator by @tree-sitter-ci-bot[bot] in tree-sitter/tree-sitter#5829
* release v0.26.12 by @clason in tree-sitter/tree-sitter#5831


**Full Changelog**: https://github.com/tree-sitter/tree-sitter/compare/v0.26.11...v0.26.12</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.12">https://github.com/tree-sitter/tree-sitter/releases/tag/v0.26.12</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!16260
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants