> +{
> +     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)

> Yeah, they all start in the "unsynced" directory and move to the other as 
> they get accepted into upstream.

Yeah, I could introduce something like that once something gets actually synced 
- now the directory would be just empty.

> Predict c.c is last :wink:

Yeah, I think you are good at predicting future :-).

There's by the way a new cxx parser in uctags (see the cxx directory) which, if 
I understand it correctly, parses also function bodies and which might fix many 
issues of the current c.c parser, especially for C++. It's used by default by 
uctags now - you could give it a try if it fixes some of the issues you 
reported. If it works better, it might be interesting for us to switch to it.

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

Reply via email to