]> git.eshelyaron.com Git - emacs.git/commit
Use tagged parser in c-ts-mode
authorYuan Fu <casouri@gmail.com>
Tue, 5 Sep 2023 03:05:50 +0000 (20:05 -0700)
committerYuan Fu <casouri@gmail.com>
Wed, 6 Sep 2023 04:03:37 +0000 (21:03 -0700)
commit686d4ddb87ca2d87bfc0cd8a29ac84decab90ff6
tree94dc3046edc0a5572f543edc8403769e62a1fe19
parent722daf6fffe42f82323ed45a380fcccd322da69f
Use tagged parser in c-ts-mode

Now that we have tags for parsers, use that instead of the
load-name-override hack.

* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--emacs-c-range-query): Change parser to C.
(c-ts-mode--emacs-set-ranges): Use the tagged parser.
(c-ts-mode): Create the tagged parser.
lisp/progmodes/c-ts-mode.el