Skip to content

fix(lib): use correct TREE_SITTER_HIDE_SYMBOLS macro name in alloc.h - #5643

Merged
WillLillis merged 1 commit into
release-0.26from
backport-5635-to-release-0.26
May 31, 2026
Merged

WillLillis merged 1 commit into
release-0.26from
backport-5635-to-release-0.26

Conversation

@tree-sitter-ci-bot

Copy link
Copy Markdown

Description

Backport of #5635 to release-0.26.

The alloc.h header checked for TREE_SITTER_HIDDEN_SYMBOLS, but the
canonical macro name used everywhere else (api.h, render.rs, setup.py)
is TREE_SITTER_HIDE_SYMBOLS. This mismatch meant that defining
TREE_SITTER_HIDE_SYMBOLS (as the Python binding build does) would not
actually hide the allocator symbols in alloc.h.

Fixes #5625

Signed-off-by: Georges Savoundararadj <[email protected]>
(cherry picked from commit 1da4632)
@WillLillis
WillLillis merged commit 3ab78c3 into release-0.26 May 31, 2026
14 checks passed
@WillLillis
WillLillis deleted the backport-5635-to-release-0.26 branch May 31, 2026 03:00
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
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