Branch: refs/heads/master Author: Javier Mora cousteaulecommandant@gmail.com Committer: Javier Mora cousteaulecommandant@gmail.com Date: Wed, 04 Oct 2023 00:34:07 UTC Commit: 19feb68c28427d423015b71428962ed766fc8c57 https://github.com/geany/geany/commit/19feb68c28427d423015b71428962ed766fc8c...
Log Message: ----------- Improve ctags tests for Matlab
tests/ctags/matlab_test.m now captures more corner cases (comments with `=` and variable names starting with `function`). This will prevent accidental regressions in future commits.
For now, block comments (text between `%{` and `%}`) are NOT ignored.
Modified Paths: -------------- tests/ctags/matlab_test.m tests/ctags/matlab_test.m.tags
Modified: tests/ctags/matlab_test.m 3 lines changed, 3 insertions(+), 0 deletions(-) =================================================================== @@ -1,4 +1,7 @@ function [x,y,z] = func1 function x = func2 function func3 +function y = func4(a, b, c) +function func5 % this comment should be ignored --> X = FAIL5 +functionality = FAIL6; % this is not a function and should not be parsed
Modified: tests/ctags/matlab_test.m.tags 4 lines changed, 4 insertions(+), 0 deletions(-) =================================================================== @@ -4,3 +4,7 @@ func2 function: func2 func3�16�0 function: func3 +func4�16�0 +function: func4 +func5�16�0 +function: func5
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).