fix(c, ecma): remove invalid predicate parameters

These are not valid named nodes in their respective languages.
This commit is contained in:
Riley Bruins
2025-07-21 19:09:00 -07:00
committed by Christian Clason
parent 8c8742871a
commit 40cca05b40
2 changed files with 3 additions and 3 deletions

View File

@@ -149,7 +149,7 @@
((field_expression
(field_identifier) @property) @_parent
(#not-has-parent? @_parent template_method function_declarator call_expression))
(#not-has-parent? @_parent function_declarator call_expression))
(field_designator) @property

View File

@@ -33,11 +33,11 @@
(assignment_expression
right: (_) @_right
(#not-kind-eq? @_right "arrow_function" "function")) @indent.begin
(#not-kind-eq? @_right "arrow_function")) @indent.begin
(variable_declarator
value: (_) @_value
(#not-kind-eq? @_value "arrow_function" "call_expression" "function")) @indent.begin
(#not-kind-eq? @_value "arrow_function" "call_expression")) @indent.begin
(arguments
")" @indent.end)