]> git.eshelyaron.com Git - emacs.git/commit
Remove parent-node field from tree-sitter parsers
authorYuan Fu <casouri@gmail.com>
Tue, 11 Mar 2025 03:15:39 +0000 (20:15 -0700)
committerEshel Yaron <me@eshelyaron.com>
Wed, 12 Mar 2025 18:57:48 +0000 (19:57 +0100)
commit01413aa4a477393acffe5381449ab7816d44e9e8
treeffcbb5ccab6c592cca8ac122ef026933e42d1a88
parent5f2298d6b8b86a097dfb73ebec4f020c837835de
Remove parent-node field from tree-sitter parsers

* src/treesit.c (make_treesit_parser): Remove field.
(Ftreesit_parser_parent_node):
(Ftreesit_parser_set_parent_node): Remove
* src/treesit.h (Lisp_TS_Parser): Remove field.

(cherry picked from commit 03a6d4256f861d71e09206ac09d48f16efd52b64)
src/treesit.c
src/treesit.h