diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2021-03-01 16:55:49 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-03-02 16:55:18 +0100 |
| commit | 866f39bb712985eb33b23159aabf33a3af5873ec (patch) | |
| tree | 3b570eb4a316db1d1d0b6f53e8edaaa8af535814 | |
| parent | 22f3203adf21a4c34c67beb2344e111bf49059a3 (diff) | |
highlights(c): update declaration and cast_expression
| -rw-r--r-- | queries/c/highlights.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/c/highlights.scm b/queries/c/highlights.scm index 930c89e3..0e7dddcd 100644 --- a/queries/c/highlights.scm +++ b/queries/c/highlights.scm @@ -138,8 +138,8 @@ (type_descriptor) ] @type -(declaration type: [(identifier) (type_identifier)] @type) -(cast_expression type: [(identifier) (type_identifier)] @type) +(declaration (type_qualifier) @type) +(cast_expression type: (type_descriptor) @type) (sizeof_expression value: (parenthesized_expression (identifier) @type)) ((identifier) @constant |
