Teach c-ts-mode about the 'restrict' keyword
* lisp/progmodes/c-ts-mode.el (c-ts-mode--keywords): Add "restrict" and "_Atomic" type qualifiers. (Bug#63323)
This commit is contained in:
parent
15e06260ae
commit
7133784303
1 changed files with 2 additions and 2 deletions
|
@ -504,10 +504,10 @@ NODE should be a labeled_statement. PARENT is its parent."
|
|||
"C/C++ keywords for tree-sitter font-locking.
|
||||
MODE is either `c' or `cpp'."
|
||||
(let ((c-keywords
|
||||
'("break" "case" "const" "continue"
|
||||
'("_Atomic" "break" "case" "const" "continue"
|
||||
"default" "do" "else" "enum"
|
||||
"extern" "for" "goto" "if" "inline"
|
||||
"register" "return"
|
||||
"register" "restrict" "return"
|
||||
"sizeof" "static" "struct"
|
||||
"switch" "typedef" "union"
|
||||
"volatile" "while")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue