|
|
@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(identifier) @variable
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
((identifier) @constant
|
|
|
|
|
|
|
|
(#match? @constant "^[A-Z][A-Z\\d_]*$"))
|
|
|
|
|
|
|
|
|
|
|
|
"sizeof" @keyword
|
|
|
|
"sizeof" @keyword
|
|
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
[
|
|
|
@ -109,6 +115,12 @@
|
|
|
|
(char_literal) @constant.character
|
|
|
|
(char_literal) @constant.character
|
|
|
|
(escape_sequence) @constant.character.escape
|
|
|
|
(escape_sequence) @constant.character.escape
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(field_identifier) @variable.other.member
|
|
|
|
|
|
|
|
(statement_identifier) @label
|
|
|
|
|
|
|
|
(type_identifier) @type
|
|
|
|
|
|
|
|
(primitive_type) @type.builtin
|
|
|
|
|
|
|
|
(sized_type_specifier) @type.builtin
|
|
|
|
|
|
|
|
|
|
|
|
(call_expression
|
|
|
|
(call_expression
|
|
|
|
function: (identifier) @function)
|
|
|
|
function: (identifier) @function)
|
|
|
|
(call_expression
|
|
|
|
(call_expression
|
|
|
@ -128,15 +140,4 @@
|
|
|
|
(attribute
|
|
|
|
(attribute
|
|
|
|
name: (identifier) @attribute)
|
|
|
|
name: (identifier) @attribute)
|
|
|
|
|
|
|
|
|
|
|
|
(field_identifier) @variable.other.member
|
|
|
|
|
|
|
|
(statement_identifier) @label
|
|
|
|
|
|
|
|
(type_identifier) @type
|
|
|
|
|
|
|
|
(primitive_type) @type.builtin
|
|
|
|
|
|
|
|
(sized_type_specifier) @type.builtin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
((identifier) @constant
|
|
|
|
|
|
|
|
(#match? @constant "^[A-Z][A-Z\\d_]*$"))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(identifier) @variable
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(comment) @comment
|
|
|
|
(comment) @comment
|
|
|
|