[Github-comments] [geany/geany] Incorrect type highlight in presence of macros (#1654)

Matthew Brush notifications at xxxxx
Sun Oct 22 12:57:46 UTC 2017


# 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

```c
#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 or view it on GitHub:
https://github.com/geany/geany/issues/1654
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171022/b2804f1e/attachment.html>


More information about the Github-comments mailing list