Skip to content

@cond does not stop at @endcond (Origin: bugzilla #306637) #1675

@doxygen

Description

@doxygen

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

Original attachment names and IDs:

On 2005-06-06 10:25:38 +0000, Ferdinand We� wrote:

Please describe the problem:
Using the @cond command in a file should exclude the code only until an @endcond
command is encountered. Currently the program also excludes all code beyond the
@endcond until the end of file.

Steps to reproduce:

  1. Run the attached example file trough Doxygen

Actual results:
The example contains three functions. Only the first function appears in the
generated documentation.

Expected results:
Only the second function (within the @cond - @endcond bracket) should be
excluded. The first and third functions should appear in the documentation.

Does this happen every time?
Yes

Other information:
Example code:

/** Create a tree.
*/
treeptr TreeCreate(int (*compareUserData)(const void *first,const void *second));

/** @cond /
/
* Destroy the tree
*/
void TreeDestroy(treeptr *tree,void (*freeUserData)(void data));
/
@endcond */

/** Add new data.
/
int TreeInsert(treeptr tree, void
data);

On 2005-06-06 10:26:49 +0000, Ferdinand We� wrote:

Created attachment 47309
example with @cond - @endcond commands

On 2005-06-09 10:47:08 +0000, Ferdinand We� wrote:

The bug seems only to occur if no section/condition is specified.
It works correctly otherwise.

On 2005-06-13 17:33:00 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next CVS update.

On 2005-07-21 09:55:21 +0000, Dimitri van Heesch wrote:

Please verify that this is fixed in 1.4.4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions