After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 594021 - Some data ignored after #endif
Some data ignored after #endif
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.6.1
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2009-09-03 12:28 UTC by Andriy Golovnya
Modified: 2010-06-15 11:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The test file (226 bytes, text/plain)
2009-09-03 12:28 UTC, Andriy Golovnya
Details

Description Andriy Golovnya 2009-09-03 12:28:24 UTC
Created attachment 142400 [details]
The test file

We have detected following wrong behavior of doxygen analysis core:
If C-code is equipped with line like "/*comment*/#endif" rest of this file is
seams to be ignored.

An example file test.c:

static int function1(int input)
{
   return input*2;
}

static int function2(int input)
{
   return function1(input)*2;
}

#ifdef ABC
/*V*/#endif

int function3(int input)
{
   return function2(input)
}

After running doxygen over this file we have following result:
Functions function1 and function2 are documented (present in list of functions)
but function3 is not.

This behavior is detected on version 1.5.x and confirmed on 1.6.1.
Comment 1 Dimitri van Heesch 2010-06-11 19:57:49 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2010-06-15 11:21:35 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.0. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.