[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gtags missing functions with comments before their parameters
From: |
Tom Russell |
Subject: |
gtags missing functions with comments before their parameters |
Date: |
Thu, 04 Oct 2007 17:23:24 +0100 |
User-agent: |
Thunderbird 2.0.0.6 (Windows/20070728) |
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.
Keep up the good work :-)
Thanks,
Tom.
- gtags missing functions with comments before their parameters,
Tom Russell <=