]> git.eshelyaron.com Git - emacs.git/commit
Avoid assertion violations in treesit.c when editing non-ASCII
authorEli Zaretskii <eliz@gnu.org>
Thu, 24 Nov 2022 09:09:51 +0000 (11:09 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 24 Nov 2022 09:09:51 +0000 (11:09 +0200)
commit825221183390f61f163258e09e91c0a75bf6d645
tree1ca35d8471ce2cb337c54454665735105512504d
parent4231481af8fbaf895edc0754b4dcf4edc424ae9f
Avoid assertion violations in treesit.c when editing non-ASCII

* src/treesit.c (make_treesit_parser): Use byte positions when
initializing 'lisp_parser'.  This avoids assertion violations when
the buffer has non-ASCII characters.
src/treesit.c