[geany/geany] 379eef: Use '\0' for non-existent tag kind instead of '-'

Jiří Techet git-noreply at xxxxx
Thu Jun 9 08:24:47 UTC 2016


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Thu, 09 Jun 2016 08:24:47 UTC
Commit:      379eefa831595fa98e3f6841967bae26075d12c6
             https://github.com/geany/geany/commit/379eefa831595fa98e3f6841967bae26075d12c6

Log Message:
-----------
Use '\0' for non-existent tag kind instead of '-'

Shouldn't collide with real tag kind symbols and a non-visible character
is more probably unused by ctags than a visible one.


Modified Paths:
--------------
    tagmanager/src/tm_parser.c

Modified: tagmanager/src/tm_parser.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -583,7 +583,7 @@ gchar tm_parser_get_tag_kind(TMTagType type, TMParserType lang)
 		if (entry->type == type)
 			return entry->kind;
 	}
-	return '-';
+	return '\0';
 }
 
 



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