fix(c): update queries from upstream (#309)

This commit is contained in:
Amaan Qureshi
2023-07-27 13:46:18 -04:00
committed by GitHub
parent ca8971739e
commit 406812fe60

View File

@@ -18,10 +18,16 @@
(case_statement "default" @mid.switch.2)?)) @scope.switch
; 'else' and 'else if'
(if_statement
(else_clause
"else" @_start (if_statement "if" @_end)?
(#make-range! "mid.if.1" @_start @_end))
; if
((if_statement
"if" @open.if) @scope.if
(#not-has-parent? @scope.if else_clause))
; if
(compound_statement
(if_statement