How to index global variable definition?
Boson Hubble <[email protected]> Sun, 19 Dec 2010 15:02:15 +0800
| Newsgroups | gmane.comp.gnu.global.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
It seems gtags (5.9.3) can't index global variable definition as object in C
source file. An example:
try.h:
/* === try.h begin === */
extern int var_dec;
int var_def;
void func_dec ();
void func_def () {}
/* === try.h end === */
I ran gtags in the directory try.h reside in:
$ gtags
then printed all object names:
$ global -c
The output:
func_def
Could you give me some hints on how to index global variable
definition/declaration and function declaration as object (not symbol) with
gtags?
Thanks,
Boson
_______________________________________________
Help-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-global