Add C language keywords

Close #8024
This commit is contained in:
b9a1 2020-03-09 21:27:09 +08:00 committed by Don HO
parent 8862042bfb
commit bbb5798569
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E

View File

@ -77,8 +77,8 @@
<Keywords name="type2"></Keywords> <Keywords name="type2"></Keywords>
</Language> </Language>
<Language name="c" ext="c lex" commentLine="//" commentStart="/*" commentEnd="*/"> <Language name="c" ext="c lex" commentLine="//" commentStart="/*" commentEnd="*/">
<Keywords name="instre1">if else switch case default break goto return for while do continue typedef sizeof NULL</Keywords> <Keywords name="instre1">if else switch case default break goto return for while do continue typedef sizeof offsetof alignof _Alignof _Generic _Static_assert and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq NULL</Keywords>
<Keywords name="type1">void struct union enum char short int long double float signed unsigned const static extern auto register volatile bool uint8_t uint16_t uint32_t uint64_t int8_t int16_t int32_t int64_t size_t time_t clock_t wchar_t FILE</Keywords> <Keywords name="type1">void struct union enum char short int long double float signed unsigned const static extern auto register volatile restrict _Atomic bool _Bool complex _Complex imaginary _Imaginary inline noreturn _Noreturn alignas _Alignas thread_local _Thread_local uint8_t uint16_t uint32_t uint64_t int8_t int16_t int32_t int64_t uint_least8_t uint_least16_t uint_least32_t uint_least64_t int_least8_t int_least16_t int_least32_t int_least64_t uint_fast8_t uint_fast16_t uint_fast32_t uint_fast64_t int_fast8_t int_fast16_t int_fast32_t int_fast64_t uintptr_t intptr_t uintmax_t intmax_t ptrdiff_t max_align_t div_t ldiv_t lldiv_t imaxdiv_t size_t time_t clock_t wchar_t char16_t char32_t sig_atomic_t FILE</Keywords>
</Language> </Language>
<Language name="caml" ext="ml mli sml thy" commentLine="" commentStart="(*" commentEnd="*)"> <Language name="caml" ext="ml mli sml thy" commentLine="" commentStart="(*" commentEnd="*)">
<Keywords name="instre1">and as assert asr begin class constraint do done downto else end exception external false for fun function functor if in include inherit initializer land lazy let lor lsl lsr lxor match method mod module mutable new object of open or private rec sig struct then to true try type val virtual when while with</Keywords> <Keywords name="instre1">and as assert asr begin class constraint do done downto else end exception external false for fun function functor if in include inherit initializer land lazy let lor lsl lsr lxor match method mod module mutable new object of open or private rec sig struct then to true try type val virtual when while with</Keywords>