[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 7a1f1825fd 2/2: Add inline to c-ts-mode--keywords
From: |
Yuan Fu |
Subject: |
emacs-29 7a1f1825fd 2/2: Add inline to c-ts-mode--keywords |
Date: |
Wed, 30 Nov 2022 20:37:45 -0500 (EST) |
branch: emacs-29
commit 7a1f1825fd3108479556c57f153d11f305da1736
Author: Daniel MartÃn <mardani29@yahoo.es>
Commit: Yuan Fu <casouri@gmail.com>
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.
---
lisp/progmodes/c-ts-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el
index 696e14f4d6..f802a6ddb2 100644
--- a/lisp/progmodes/c-ts-mode.el
+++ b/lisp/progmodes/c-ts-mode.el
@@ -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"