summaryrefslogtreecommitdiffstats
path: root/doc/preprocessing.doc
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-05-20 14:35:05 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-05-20 14:35:05 (GMT)
commit2999d2732d1471f144721808e52c04aa17dd63b6 (patch)
tree36be5408c1204bd5806673cb3fef2b25ed031174 /doc/preprocessing.doc
parentbcf2f33d5be8c6de4de5bb7cbe8ea8b90f19cf88 (diff)
downloadDoxygen-2999d2732d1471f144721808e52c04aa17dd63b6.zip
Doxygen-2999d2732d1471f144721808e52c04aa17dd63b6.tar.gz
Doxygen-2999d2732d1471f144721808e52c04aa17dd63b6.tar.bz2
Release-1.2.16
Diffstat (limited to 'doc/preprocessing.doc')
-rw-r--r--doc/preprocessing.doc11
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/preprocessing.doc b/doc/preprocessing.doc
index 9b7e8bc..ff44316 100644
--- a/doc/preprocessing.doc
+++ b/doc/preprocessing.doc
@@ -28,7 +28,7 @@ So if you have the following code fragment
#define VERSION 200
#define CONST_STRING const char *
-#if VERSION >= 200
+#if VERSION < 200
static CONST_STRING version = "2.xx";
#else
static CONST_STRING version = "1.xx";
@@ -46,8 +46,13 @@ Then by default doxygen will feed the following to its parser:
You can disable all preprocessing by setting
\ref cfg_enable_preprocessing "ENABLE_PREPROCESSING" to \c
-NO in the configuation file. In the case above doxygen will then reads
-both statements!
+NO in the configuation file. In the case above doxygen will then read
+both statements, i.e:
+
+\verbatim
+ static CONST_STRING version = "2.xx";
+ static CONST_STRING version = "1.xx";
+\endverbatim
In case you want to expand the \c CONST_STRING macro, you should set the
\ref cfg_macro_expansion "MACRO_EXPANSION" tag in the config file