Re: Index C function prototypes
"Shigio YAMAGUCHI" <[email protected]> Mon, 07 Nov 2011 23:47:38 +0900
| Newsgroups | gmane.comp.gnu.global.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
> What I got
> FOO_H_ 2 foo.h ...
>
> What I expected
> FOO_H_ 2 foo.h ...
> foo 4 foo .h ...
You can see the tag using the following command line:
$ global -xs foo
As ctags does so, global's parser also considers that a prototype is not a definition.
> It only works when I write a function definition, i.e. if I substitue the
> prototype with
>
> void foo () {}
>
> ,even if I set GTAGSFORCECPP
>
> What's missing?
--
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3