]> git.eshelyaron.com Git - emacs.git/commitdiff
Add inline to c-ts-mode--keywords
authorDaniel Martín <mardani29@yahoo.es>
Wed, 30 Nov 2022 18:58:42 +0000 (19:58 +0100)
committerYuan Fu <casouri@gmail.com>
Thu, 1 Dec 2022 01:37:05 +0000 (17:37 -0800)
* lisp/progmodes/c-ts-mode.el (c-ts-mode--keywords): Add "inline", a
keyword available since C99 to define inline functions in C.

lisp/progmodes/c-ts-mode.el

index 696e14f4d6e8d31775315e5113be77a52cd549e3..f802a6ddb2da12264b413484bafa1ccf06d73b7a 100644 (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"