[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gtags missing functions with comments before their parameters
From: |
Shigio YAMAGUCHI |
Subject: |
Re: gtags missing functions with comments before their parameters |
Date: |
Fri, 05 Oct 2007 21:41:44 +0900 |
Hi,
> I've found a bug in GLOBAL which causes some functions to be missed when
> generating tags:
>
> in the following C/C++ code:
>
> int invisible /* COMMENT */ ()
> {
> }
>
> int also_invisible // COMMENT
> ()
> {
> }
>
> int visible () // COMMENT
> {
> }
>
> int main ()
> {
> invisible ();
> visible ();
>
> return 0;
> }
>
> The functions 'invisible' and 'also_invisible' will not be found by
> GLOBAL. The reason appears to be that they have comments between the
> function name and the opening parenthesis '('. GLOBAL has trouble
> recognising them as functions.
I recognized the bug. I will fix it.
Thank you for your report. It's a good job!
--
Shigio YAMAGUCHI <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3