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 620924 - \if and \endif inside lists
\if and \endif inside lists
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.6.3
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-06-08 06:04 UTC by Michael Stockman
Modified: 2010-06-19 00:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Stockman 2010-06-08 06:04:23 UTC
Suppose you have the following doxygen code:

/** \page my_page A page

  - Timestamp
  - Energy
  - Volume
  - Temperature T1
  - Temperature T2
\if ADVANCED_METER
  - Phase
\endif
  - Flow

 */

This is interpreted as several distinct lists following eachother, broken at the \if and \endif lines.

And if the list is rewritten using <ul><li>...</li>...</ul>, then the program inserts </p><p class="endli"></p> causing the items before \if and \endif to end with an empty line before the next item.

Bug 361476 is likely a special case of this behaviour (since it discusses sub-lists, but the behaviour seems to be general to all lists).
Comment 1 Wlodek 2010-06-11 12:44:32 UTC
I noticed similar behaviour. Doxygen puts empty lines replacing the \if and \endif lines. This surrounds the conditional bullet with empty lines:
  - Timestamp
  - Energy
  - Volume
  - Temperature T1
  - Temperature T2

  - Phase

  - Flow
Comment 2 Dimitri van Heesch 2010-06-11 14:03:31 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 3 Dimitri van Heesch 2010-06-15 11:21:38 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.
Comment 4 Wlodek 2010-06-19 00:34:46 UTC
Yes, it it fixed in Doxygen version 1.7.0.