diff options
author | Wu Yongwei <wuyongwei@gmail.com> | 2024-03-06 03:27:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-05 20:27:27 +0100 |
commit | 63c39e4ef749883e96a83b9f647ac91516c0d1be (patch) | |
tree | 0708e686f128f369fd3fd3ea67278ae795232bc5 /runtime/syntax | |
parent | e5c9ba6015735b8b12e35dc5873bfc957dcbb600 (diff) |
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 <wuyongwei@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/syntax')
-rw-r--r-- | runtime/syntax/c.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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 |