[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to index global variable definition?
From: |
Shigio YAMAGUCHI |
Subject: |
Re: How to index global variable definition? |
Date: |
Sun, 19 Dec 2010 19:13:10 +0900 |
Hi,
> Could you give me some hints on how to index global variable
> definition/declaration and function declaration as object (not symbol) with
> gtags?
You can achieve it by rewriting the source code of the C parser:
libparser/C.c
To generate a definition tag, you should use PUT(PARSER_DEF, ...).
Good luck.
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3