New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some data ignored after #endif (Origin: bugzilla #594021) #3506

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component general for ---
Reported in version 1.6.1 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2009-09-03 12:28:24 +0000, Andriy Golovnya wrote:

Created attachment 142400
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.

On 2010-06-11 19:57:49 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next subversion update.

On 2010-06-15 11:21:35 +0000, Dimitri van Heesch wrote:

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.

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment