@@ -1,65 +1,104 @@
1−(storage_class_specifier) @keyword.storage
17"sizeof" @keyword
1"sizeof" @keyword
8+] @keyword.storage.type
16+ (storage_class_specifier)
17+] @keyword.storage.modifier
29+] @keyword.control.repeat
37+] @keyword.control.conditional
39+"return" @keyword.control.return
27− "#define"
43+ "#define"
33− "#ifndef"
49+ "#ifndef"
34− "#include"
50+ "#include"
35− (preproc_directive)
51+ (preproc_directive)
36] @keyword.directive
52] @keyword.directive
48−"++" @operator
59+ "++"
49−"+=" @operator
60+ "--"
51−"==" @operator
62+ "=="
54−">=" @operator
66+ ">="
55−"<=" @operator
89+] @operator
91+(conditional_expression ":" @operator)
57−"." @punctuation.delimiter
93+"..." @punctuation
58−";" @punctuation.delimiter
95+["," "." ":" ";" "->" "::"] @punctuation.delimiter
97+["(" ")" "[" "]" "{" "}"] @punctuation.bracket
60[(true) (false)] @constant.builtin.boolean
99[(true) (false)] @constant.builtin.boolean
62−(enumerator) @type.enum.variant
101+(enumerator name: (identifier) @type.enum.variant)
64(string_literal) @string
103(string_literal) @string
65(system_lib_string) @string
104(system_lib_string) @string
@@ -73,19 +112,28 @@
73(call_expression
112(call_expression
74 function: (field_expression
113 function: (field_expression
75 field: (field_identifier) @function))
114 field: (field_identifier) @function))
115+(call_expression (argument_list (identifier) @variable))
76(function_declarator
116(function_declarator
77− declarator: (identifier) @function)
117+ declarator: [(identifier) (field_identifier)] @function)
118+(parameter_declaration
119+ declarator: (identifier) @variable.parameter)
120+(parameter_declaration
122+ declarator: (identifier) @variable.parameter))
78(preproc_function_def
123(preproc_function_def
79 name: (identifier) @function.special)
124 name: (identifier) @function.special)
127+ name: (identifier) @attribute)
81(field_identifier) @variable.other.member
129(field_identifier) @variable.other.member
82(statement_identifier) @label
130(statement_identifier) @label
83(type_identifier) @type
131(type_identifier) @type
84−(primitive_type) @type
132+(primitive_type) @type.builtin
85(sized_type_specifier) @type
133(sized_type_specifier) @type
87((identifier) @constant
135((identifier) @constant
88− (#match? @constant "^[A-Z][A-Z\\d_]*$"))
136+ (#match? @constant "^[A-Z][A-Z\\d_]*$"))
90(identifier) @variable
138(identifier) @variable