[geany/geany] e3d066: Do not generate tags for disabled kinds

Colomban Wendling git-noreply at xxxxx
Mon Mar 7 11:46:36 UTC 2016


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Mon, 07 Mar 2016 11:46:36 UTC
Commit:      e3d066c203c3578065767955c9effae9a97bfdc8
             https://github.com/geany/geany/commit/e3d066c203c3578065767955c9effae9a97bfdc8

Log Message:
-----------
Do not generate tags for disabled kinds

Closes universal-ctags/ctags#324.
X-Universal-CTags-Commit-ID: 4a95e4a55f67230fc4eee91ffb31c18c422df6d3


Modified Paths:
--------------
    tagmanager/ctags/objc.c

Modified: tagmanager/ctags/objc.c
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -482,6 +482,10 @@ static void popEnclosingContext (void)
 static void addTag (vString * const ident, int kind)
 {
 	tagEntryInfo toCreate;
+
+	if (! ObjcKinds[kind].enabled)
+		return;
+
 	prepareTag (&toCreate, ident, kind);
 	makeTagEntry (&toCreate);
 }



--------------
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