Add inline to c-ts-mode--keywords

* lisp/progmodes/c-ts-mode.el (c-ts-mode--keywords): Add "inline", a
keyword available since C99 to define inline functions in C.
This commit is contained in:
Daniel Martín 2022-11-30 19:58:42 +01:00 committed by Yuan Fu
parent 3d976d6a03
commit 7a1f1825fd
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -168,7 +168,7 @@ MODE is either `c' or `cpp'."
(let ((c-keywords
'("break" "case" "const" "continue"
"default" "do" "else" "enum"
"extern" "for" "goto" "if"
"extern" "for" "goto" "if" "inline"
"long" "register" "return" "short"
"signed" "sizeof" "static" "struct"
"switch" "typedef" "union" "unsigned"