summaryrefslogtreecommitdiffstats
path: root/src/debug.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>1999-12-15 19:39:36 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>1999-12-15 19:39:36 (GMT)
commitdc2968f7b44b1a219a0695ba80c63cd0d7da0ef1 (patch)
tree46bbaf2d590cf1e2edf1bc86a8d7000a2012dc0d /src/debug.cpp
parent916d6d5c6f6c9d14c4c9a636582671c81447f54a (diff)
downloadDoxygen-dc2968f7b44b1a219a0695ba80c63cd0d7da0ef1.zip
Doxygen-dc2968f7b44b1a219a0695ba80c63cd0d7da0ef1.tar.gz
Doxygen-dc2968f7b44b1a219a0695ba80c63cd0d7da0ef1.tar.bz2
mods for doxygen-0.49-991117
Diffstat (limited to 'src/debug.cpp')
-rw-r--r--src/debug.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/debug.cpp b/src/debug.cpp
index d7f1ba8..96be18d 100644
--- a/src/debug.cpp
+++ b/src/debug.cpp
@@ -43,6 +43,8 @@ static int labelToEnumValue(const char *l)
return Debug::Functions;
else if (label=="Variables")
return Debug::Variables;
+ else if (label=="Preprocessor")
+ return Debug::Preprocessor;
else
return 0;
}
@@ -61,3 +63,8 @@ void Debug::setPriority(int p)
{
curPrio = p;
}
+
+bool Debug::isFlagSet(DebugMask mask)
+{
+ return (curMask & mask)!=0;
+}