Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Fri, 28 Apr 2023 14:52:24 UTC Commit: 0562f8edbcc2481b230e8f75c0df38db6d167238 https://github.com/geany/geany/commit/0562f8edbcc2481b230e8f75c0df38db6d1672...
Log Message: ----------- autoit: use local/global variable tags
Note that "local" variables seem to be local for the given file and not local within a certain function so mapping them to tm_tag_local_var_t isn't appropriate.
Modified Paths: -------------- src/tagmanager/tm_parser.c tests/ctags/simple.au3.tags
Modified: src/tagmanager/tm_parser.c 5 lines changed, 3 insertions(+), 2 deletions(-) =================================================================== @@ -1083,13 +1083,14 @@ static TMParserMapGroup group_BATCH[] = { static TMParserMapEntry map_AUTOIT[] = { {'f', tm_tag_function_t}, {'r', tm_tag_other_t}, - {'g', tm_tag_undef_t}, - {'l', tm_tag_undef_t}, + {'g', tm_tag_variable_t}, + {'l', tm_tag_variable_t}, {'S', tm_tag_undef_t}, }; static TMParserMapGroup group_AUTOIT[] = { {N_("Functions"), TM_ICON_METHOD, tm_tag_function_t}, {N_("Regions"), TM_ICON_OTHER, tm_tag_other_t}, + {N_("Variables"), TM_ICON_VAR, tm_tag_variable_t}, };
typedef struct
Modified: tests/ctags/simple.au3.tags 6 lines changed, 6 insertions(+), 0 deletions(-) =================================================================== @@ -1,3 +1,9 @@ +$iDoubled�16384�0 +variable: $iDoubled +$iMagic�16384�0 +variable: $iMagic +$iNumber�16384�0 +variable: $iNumber All functions�524288�0 other: All functions MyDouble�16�($iValue)�All functions�0
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).