Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Mon, 13 May 2024 20:32:25 UTC Commit: ae75c73b48db70a5d59e2dc02a566f1ebfa2ef46 https://github.com/geany/geany/commit/ae75c73b48db70a5d59e2dc02a566f1ebfa2ef...
Log Message: ----------- Fix a JavaScript test
Remove invalid code (despite what the code says) that now confuses the parser, leading to missing tags after it.
Modified Paths: -------------- tests/ctags/simple.js tests/ctags/simple.js.tags
Modified: tests/ctags/simple.js 3 lines changed, 2 insertions(+), 1 deletions(-) =================================================================== @@ -40,7 +40,8 @@ function validFunctionThree(a,b) {
var my_global_var1 = 33;
-function extra.validFunctionFour(a,b) {} +var extra = {} +extra.validFunctionFour = function(a,b) {}
//pseudo-module setup testlib = {}
Modified: tests/ctags/simple.js.tags 6 lines changed, 6 insertions(+), 0 deletions(-) =================================================================== @@ -10,6 +10,8 @@ core variable: testlib :: core executeQueryString�128�Database�0 method: Database :: executeQueryString +extra�16384�0 +variable: extra extras�1�testlib�0 class: testlib :: extras getHalfOf�16�(num1, num2, num3)�0 @@ -22,6 +24,8 @@ invalidInnerFunction function: invalidInnerFunction(a,b) my_global_var1�16384�0 variable: my_global_var1 +my_global_var2�16384�0 +variable: my_global_var2 my_global_var3�16384�0 variable: my_global_var3 my_global_var4�16384�0 @@ -34,6 +38,8 @@ testlib variable: testlib validFunctionFive�16�(a,b)�testlib�0 function: testlib :: validFunctionFive(a,b) +validFunctionFour�16�(a,b)�extra�0 +function: extra :: validFunctionFour(a,b) validFunctionOne�16�(a,b)�0 function: validFunctionOne(a,b) validFunctionSix�16�(a,b)�testlib.core�0
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).