[Github-comments] [geany/geany] TM cleanups (#957)

Colomban Wendling notifications at xxxxx
Wed Jun 8 16:26:56 UTC 2016


> +}
> +
> +
> +gchar tm_parser_get_tag_kind(TMTagType type, TMParserType lang)
> +{
> +	TMParserMap *map = &parser_map[lang];
> +	guint i;
> +
> +	for (i = 0; i < map->size; i++)
> +	{
> +		TMParserMapEntry *entry = &map->entries[i];
> +
> +		if (entry->type == type)
> +			return entry->kind;
> +	}
> +	return '-';

shouldn't this rather be something like `0`?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/957/files/6e89ee5ebef888e5d07407d33ffb4d455831e752#r66289722
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160608/7f6074c8/attachment.html>


More information about the Github-comments mailing list