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

Jiří Techet notifications at xxxxx
Thu May 5 12:03:23 UTC 2016


> +{
> +	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 '-';
> +}
> +
> +
> +void tm_parser_verify_type_mappings(void)

At the moment there are no parsers that would be completely identical. For Geany 1.29 I'd like to start syncing the implementations with uctags and it will be easier to make a diff of the whole parser directory against uctags to see:

1. Which parsers are in uctags and not in Geany.
2. Which parsers are in Geany and not in uctags.
3. How the implementations differ.

And this will be easier with a single parser directory.



---
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/aea7d7845917843dd6b02e5a8dc9031cabc87a86..5d9376ea801a6e6c3ec22748741362a3a2eff7ac#r62178273
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160505/ec526c41/attachment.html>


More information about the Github-comments mailing list