[geany/geany] 46ee2a: Report subroutine declarations as such
Colomban Wendling
git-noreply at xxxxx
Sun Dec 16 18:06:47 UTC 2018
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Fri, 15 Jun 2018 20:17:12 UTC
Commit: 46ee2a826f47abc2335040af8ec4a0cde13c6b8f
https://github.com/geany/geany/commit/46ee2a826f47abc2335040af8ec4a0cde13c6b8f
Log Message:
-----------
Report subroutine declarations as such
They were reported as subroutines because kind was assigned after being
used, which was likely a bug.
Modified Paths:
--------------
ctags/parsers/perl.c
Modified: ctags/parsers/perl.c
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -324,6 +324,7 @@ static void findPerlTags (void)
if (true == isSubroutineDeclaration(cp)) {
if (true == PerlKinds[K_SUBROUTINE_DECLARATION].enabled) {
kind = K_SUBROUTINE_DECLARATION;
+ e.kind = &(PerlKinds[kind]);
} else {
vStringClear (name);
continue;
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list