From: Wu Yongwei Date: Tue, 5 Mar 2024 19:27:27 +0000 (+0800) Subject: runtime(c): Recognize "__inline" (#14145) X-Git-Tag: v9.1.0150~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63c39e4ef749883e96a83b9f647ac91516c0d1be;p=thirdparty%2Fvim.git runtime(c): Recognize "__inline" (#14145) `__inline` is recognized by GCC, and may even be preferred, as MSVC does not recognize `__inline__`. Signed-off-by: Wu Yongwei Signed-off-by: Christian Brabandt --- diff --git a/runtime/syntax/c.vim b/runtime/syntax/c.vim index a593bd26c2..30db9438d0 100644 --- a/runtime/syntax/c.vim +++ b/runtime/syntax/c.vim @@ -252,7 +252,7 @@ if exists("c_gnu") syn keyword cOperator typeof __typeof__ syn keyword cOperator __real__ __imag__ syn keyword cStorageClass __attribute__ __const__ __extension__ - syn keyword cStorageClass inline __inline__ + syn keyword cStorageClass inline __inline __inline__ syn keyword cStorageClass __restrict__ __volatile__ __noreturn__ endif syn keyword cType int long short char void