]> git.eshelyaron.com Git - emacs.git/commit
Fix c++-ts-mode font-lock for latest c++ grammar (bug#73191)
authorYuan Fu <casouri@gmail.com>
Sat, 14 Sep 2024 18:07:28 +0000 (11:07 -0700)
committerEshel Yaron <me@eshelyaron.com>
Mon, 16 Sep 2024 10:04:53 +0000 (12:04 +0200)
commit709d7c5c43e6507fb31c3e9eb0ffd1dd6d6722e6
treec026694db84a0dea7f6397a7567531339a7c9a65
parentc11c1181f656a75497ec8c0f3f90992e12a4bd23
Fix c++-ts-mode font-lock for latest c++ grammar (bug#73191)

* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--keywords): Add "thread_local" keyword.
(c-ts-mode--test-virtual-named-p): New function.
(c-ts-mode--font-lock-settings): Use named/anonymous "virtual" depending
on the grammar.

(cherry picked from commit 21efdd5ef31febc8fd59bf483a39bba512d50f45)
lisp/progmodes/c-ts-mode.el