Remove nullptr named node from c++-ts-mode (bug#64818)

The nullptr node was changed from a named node to an unnamed node
upstream[0], which caused font locking to break. As this is a small
enough regression, no compat code is required.

* lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings): Remove
node no longer in use.

[0]:
c75868f8b5
This commit is contained in:
Theodor Thornhill 2023-07-24 20:18:09 +02:00
parent 4e977136d3
commit c2d95dd00e
No known key found for this signature in database
GPG key ID: 2B8CF6039F079DA3

View file

@ -574,9 +574,7 @@ MODE is either `c' or `cpp'."
:feature 'constant
`((true) @font-lock-constant-face
(false) @font-lock-constant-face
(null) @font-lock-constant-face
,@(when (eq mode 'cpp)
'((nullptr) @font-lock-constant-face)))
(null) @font-lock-constant-face)
:language mode
:feature 'keyword