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

Masatake YAMATO notifications at xxxxx
Sat May 16 18:36:05 UTC 2020


I'm working this topic in u-ctags side.

With the change I proposed in https://github.com/universal-ctags/ctags/pull/2543, ctags can capture `foo` well:

```
$ cat /tmp/foo.c
#define BLEH
struct foo BLEH { int _; };
$ u-ctags --param-CPreProcessor:_expand=1 --fields-C=+{macrodef} --fields=+S -o - /tmp/foo.c
<sor:_expand=1 --fields-C=+{macrodef} --fields=+S -o - /tmp/foo.c
BLEH	/tmp/foo.c	/^#define BLEH$/;"	d	language:C	file:	macrodef:
_	/tmp/foo.c	/^struct foo BLEH { int _; };$/;"	m	language:C	struct:foo	typeref:typename:int	file:
foo	/tmp/foo.c	/^struct foo BLEH { int _; };$/;"	s	language:C	file:
```

-- 
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#issuecomment-629688887
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200516/12a9e60c/attachment.htm>


More information about the Github-comments mailing list