Description

If you add some macros into a type definition (ex. struct, enum, etc), the last token before the opening brace of the definition seems to be taken as the type name. I guess this is a bug in old c.c ctags parser.

Example

#define BLEH
struct foo BLEH { int _; };

Here, BLEH gets highlighted as the type name instead of foo.

Use case

Using macros for things like GNU C's __attribute__ extension.

Version

I don't think version matters at all, but I'm using a fairly recent 1.32 build.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.