Update C keyword list

1. Add true/false as per c99 stdbool.h
2. Alphabetize list

Close #9453
This commit is contained in:
miwob 2021-01-27 15:04:32 +01:00 committed by Don HO
parent 50d204f2a8
commit 70d7b8504c

View File

@ -77,7 +77,7 @@
<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 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="instre1">_Alignof _Generic _Static_assert alignof and and_eq bitand bitor break case compl continue default do else false for goto if not not_eq NULL offsetof or or_eq return sizeof switch true typedef while xor xor_eq</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> <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="*)">