fix(cpp): remove @field for identifiers with _ prefix (#5731)

This commit is contained in:
HumblePresent 2023-11-27 15:50:08 -06:00 committed by Amaan Qureshi
parent b8fbd13277
commit ba588ee0cf

View file

@ -1,7 +1,7 @@
; inherits: c
((identifier) @field
(#lua-match? @field "^m?_.*$"))
(#lua-match? @field "^m_.*$"))
(parameter_declaration
declarator: (reference_declarator) @parameter)