summaryrefslogtreecommitdiffstats
path: root/testing/015_cond.c
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-05-07 13:59:33 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-05-07 13:59:33 (GMT)
commitf7663cf300375b4ec8d8fe052f3da48782743919 (patch)
tree3e64b1aec3997c50067962fa4c7c36dad58e2f7a /testing/015_cond.c
parentc78c338fffbdbb9b2379b1896e647f7cc697da57 (diff)
downloadDoxygen-f7663cf300375b4ec8d8fe052f3da48782743919.zip
Doxygen-f7663cf300375b4ec8d8fe052f3da48782743919.tar.gz
Doxygen-f7663cf300375b4ec8d8fe052f3da48782743919.tar.bz2
Problem with \cond in normal comment of test 015
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
Diffstat (limited to 'testing/015_cond.c')
-rw-r--r--testing/015_cond.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/015_cond.c b/testing/015_cond.c
index ab3044c..0ac209d 100644
--- a/testing/015_cond.c
+++ b/testing/015_cond.c
@@ -1,4 +1,4 @@
-// objective: test the \cond command
+// objective: test the `cond` command
// check: 015__cond_8c.xml
// config: ENABLED_SECTIONS = COND_ENABLED
@@ -17,12 +17,14 @@ void func();
/// \endcond
/// \cond COND_ENABLED
+/// Function to be shown.
void cond_enabled()
{
}
/// \endcond
/** \cond COND_DISABLED */
+ Function not to be shown.
void cond_disabled()
{
}