]> git.eshelyaron.com Git - emacs.git/commit
Fix previous commit on tree-sitter
authorYuan Fu <casouri@gmail.com>
Fri, 14 Apr 2023 01:45:07 +0000 (18:45 -0700)
committerYuan Fu <casouri@gmail.com>
Fri, 14 Apr 2023 01:47:41 +0000 (18:47 -0700)
commitde34de3b35cbe1da6fb035b93081e0564b3c7b3f
tree58da547b9fcfd362eb252c35c024cc6298a4db7e
parent3ef54c64fa8e7236458228db09fe7192350cbeb6
Fix previous commit on tree-sitter

* src/treesit.c:
(treesit_traverse_validate_predicate): Don't accept symbols.
(treesit_traverse_match_predicate): Don't accept symbols, and use
correct variable for the regexp and pred check.

* test/src/treesit-tests.el:
(treesit-search-forward-predicate): Fix the test.
src/treesit.c
test/src/treesit-tests.el