improved debug main() func

This commit is contained in:
Paul Gauthier 2023-09-08 08:26:06 -07:00
parent fb5616f854
commit 4347823c36
2 changed files with 13 additions and 35 deletions

View file

@ -1,23 +0,0 @@
(translation_unit
(function_definition
declarator: (function_declarator
declarator: (identifier) @name.definition.function
)
body: (compound_statement) @body.function
) @definition.function
(struct_specifier
name: (type_identifier) @name.definition.struct
body: (field_declaration_list) @body.struct
) @definition.struct
(union_specifier
name: (type_identifier) @name.definition.union
body: (field_declaration_list) @body.union
) @definition.union
(enum_specifier
name: (type_identifier) @name.definition.enum
body: (enumerator_list) @body.enum
) @definition.enum
)