Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Sun, 26 May 2024 21:17:58 UTC Commit: ca9789473ad32a696d8f6bc712b4631bbf86f159 https://github.com/geany/geany/commit/ca9789473ad32a696d8f6bc712b4631bbf86f1...
Log Message: ----------- Map Matlab variables back to tm_tag_undef_t
The parser makes tags for each assignment which is too noisy.
Modified Paths: -------------- src/tagmanager/tm_parser.c tests/ctags/matlab_backtracking.m.tags tests/ctags/matlab_test.m.tags
Modified: src/tagmanager/tm_parser.c 3 lines changed, 1 insertions(+), 2 deletions(-) =================================================================== @@ -669,13 +669,12 @@ static TMParserMapGroup group_FORTRAN[] = {
static TMParserMapEntry map_MATLAB[] = { {'f', tm_tag_function_t}, // function - {'v', tm_tag_variable_t}, // variable + {'v', tm_tag_undef_t}, // variable {'c', tm_tag_class_t}, // class }; static TMParserMapGroup group_MATLAB[] = { {N_("Classes"), TM_ICON_CLASS, tm_tag_class_t}, {N_("Functions"), TM_ICON_METHOD, tm_tag_function_t}, - {N_("Variables"), TM_ICON_VAR, tm_tag_variable_t}, };
#define map_CUDA map_C
Modified: tests/ctags/matlab_backtracking.m.tags 10 lines changed, 0 insertions(+), 10 deletions(-) =================================================================== @@ -1,12 +1,2 @@ backtrack�16�0 function: backtrack -cDDfnc�16384�0 -variable: cDDfnc -d�16384�0 -variable: d -fcall�16384�0 -variable: fcall -fn�16384�0 -variable: fn -xn�16384�0 -variable: xn
Modified: tests/ctags/matlab_test.m.tags 2 lines changed, 0 insertions(+), 2 deletions(-) =================================================================== @@ -8,5 +8,3 @@ func4 function: func4 func5�16�0 function: func5 -functionality�16384�0 -variable: functionality
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).