Parser and lexer are current versions from upstreams (and both have not been updated for a long time). I'm sorry, right now I don't understand what the problem is :) ctags/parsers/autoit.c: ```c static roleDefinition AutoItIncludeRoles [] = { { true, "system", "system include" }, { true, "local", "local include" }, };
static kindDefinition AutoItKinds [] = { { true, 'f', "func", "functions" }, { true, 'r', "region", "regions" }, { true, 'g', "global", "global variables" }, { true, 'l', "local", "local variables" }, { true, 'S', "script", "included scripts", .referenceOnly = true, ATTACH_ROLES (AutoItIncludeRoles) }, }; ``` src/tagmanager/tm_parser.c: ```c static TMParserMapEntry map_AUTOIT[] = { {'f', tm_tag_function_t}, {'r', tm_tag_other_t}, {'g', tm_tag_member_t}, {'l', tm_tag_member_t}, {'S', tm_tag_member_t}, }; static TMParserMapGroup group_AUTOIT[] = { {_("Functions"), TM_ICON_METHOD, tm_tag_function_t}, {_("Regions"), TM_ICON_OTHER, tm_tag_other_t}, }; ``` `AutoItKinds` and `map_AUTOIT` are the same size and as I understand and see, `map_AUTOIT` and `group_AUTOIT` do not have to match in size. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/1752#issuecomment-1356326744 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/pull/1752/c1356326...@github.com>