CVSROOT: /sources/global
Module name: global
Changes by: Shigio YAMAGUCHI <shigio> 08/12/25 05:39:05
Modified files:
. : THANKS
libutil : token.c
Log message:
The following bug reported by Tom Russell was fixed.
> 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.
This patch was submitted by Chris Nogradi.
Thanks to Chris Nogradi and GARMIN ltd.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/global/THANKS?cvsroot=global&r1=1.83&r2=1.84
http://cvs.savannah.gnu.org/viewcvs/global/libutil/token.c?cvsroot=global&r1=1.23&r2=1.24
_______________________________________________
Global-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/global-commit