mirror of
https://github.com/siemens-mobile-hacks/doxygen.git
synced 2026-11-25 22:27:34 +00:00
In the \cond is also recognized in non-doxygen comment. - As a work around the \ has been removed - in case of e.g. pdf the enabled function is not shown as it does not have a doxygen comment - test file output update due to change in input code. - pre.l and commentcnv.l. better error message i.e. showing better the used condition
32 lines
432 B
C
32 lines
432 B
C
// objective: test the `cond` command
|
|
// check: 015__cond_8c.xml
|
|
// config: ENABLED_SECTIONS = COND_ENABLED
|
|
|
|
/** \file
|
|
* Text \a argument more text.
|
|
*/
|
|
|
|
/// \cond
|
|
|
|
/** A function */
|
|
void func();
|
|
|
|
/** A macro */
|
|
#define MACRO 42
|
|
|
|
/// \endcond
|
|
|
|
/// \cond COND_ENABLED
|
|
/// Function to be shown.
|
|
void cond_enabled()
|
|
{
|
|
}
|
|
/// \endcond
|
|
|
|
/** \cond COND_DISABLED */
|
|
Function not to be shown.
|
|
void cond_disabled()
|
|
{
|
|
}
|
|
/** \endcond */
|
|
|