> +{
> + 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)
And one more thing - I was thinking about moving the TM part into Geany
directory (probably under a subdirectory such as "tm") because it really is a
Geany code and then renaming the "tagmanager" directory to "ctags" and making
the directory structure match uctags. For the moved TM part it would be nice to
have access to utils.c/h to make the code match Geany's style better using some
of the utils and to have access to some Geany settings (e.g.
https://github.com/geany/geany/pull/963/commits/9c16401c94d6de324854c06312ec87049a2da2be
would need it). Then TM would depend on Geany and it wouldn't be possible to
create a Geany-independent binary.
---
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#r62090689