queries: Fix precedence for zero-arity erlang macros

pull/13432/head
Michael Davis 2025-04-19 08:58:13 -04:00
parent 99b57181d5
commit 9f3b193743
No known key found for this signature in database
1 changed files with 4 additions and 4 deletions

View File

@ -119,15 +119,15 @@
(#match? @comment.discard "^_")) (#match? @comment.discard "^_"))
; Macros ; Macros
(macro
"?"+ @keyword.directive
name: (_) @keyword.directive)
(macro (macro
"?"+ @constant "?"+ @constant
name: (_) @constant name: (_) @constant
!arguments) !arguments)
(macro
"?"+ @keyword.directive
name: (_) @keyword.directive)
; Parameters ; Parameters
; specs ; specs
((attribute ((attribute