summaryrefslogtreecommitdiffstats
path: root/doc/preprocessing.doc
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-05-20 14:35:05 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-05-20 14:35:05 (GMT)
commit5a7cb5383abbd105c22dca28171806bd2a5a9cda (patch)
tree36be5408c1204bd5806673cb3fef2b25ed031174 /doc/preprocessing.doc
parent697375aff0beddb756025e867289213dc46ca45f (diff)
downloadDoxygen-5a7cb5383abbd105c22dca28171806bd2a5a9cda.zip
Doxygen-5a7cb5383abbd105c22dca28171806bd2a5a9cda.tar.gz
Doxygen-5a7cb5383abbd105c22dca28171806bd2a5a9cda.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