From 4892db22e227b39f739a9313636d2393ed1dad24 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Fri, 2 Jun 2023 11:53:40 +0200 Subject: [PATCH] fix(treesitter): remove incompatible c query (#23859) `#has-parent?` and `#has-ancestor?` predicates were not backported --- runtime/queries/c/highlights.scm | 9 --------- 1 file changed, 9 deletions(-) diff --git a/runtime/queries/c/highlights.scm b/runtime/queries/c/highlights.scm index 523a792403..46b8df97e4 100644 --- a/runtime/queries/c/highlights.scm +++ b/runtime/queries/c/highlights.scm @@ -117,15 +117,6 @@ (preproc_defined) ] @function.macro -(((field_expression - (field_identifier) @property)) @_parent - (#not-has-parent? @_parent template_method function_declarator call_expression)) - -(field_designator) @property -(((field_identifier) @property) - (#has-ancestor? @property field_declaration) - (#not-has-ancestor? @property function_declarator)) - (statement_identifier) @label [