summaryrefslogtreecommitdiffstats
path: root/src/debug.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-08-04 20:55:47 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-08-04 20:55:47 (GMT)
commitfd9cdfaba64f942f4eb481ac9feb1564115f9f92 (patch)
tree8e54169bc0b7214246ec4c1dfe3f58228ef12928 /src/debug.cpp
parent9c8ea2e90bb38ba21675799fe364fc7a546b020c (diff)
downloadDoxygen-fd9cdfaba64f942f4eb481ac9feb1564115f9f92.zip
Doxygen-fd9cdfaba64f942f4eb481ac9feb1564115f9f92.tar.gz
Doxygen-fd9cdfaba64f942f4eb481ac9feb1564115f9f92.tar.bz2
Release-1.2.17-20020804
Diffstat (limited to 'src/debug.cpp')
-rw-r--r--src/debug.cpp17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/debug.cpp b/src/debug.cpp
index 8932622..e9f3135 100644
--- a/src/debug.cpp
+++ b/src/debug.cpp
@@ -38,18 +38,23 @@ void Debug::print(DebugMask mask,int prio,const char *fmt,...)
static int labelToEnumValue(const char *l)
{
QCString label=l;
- if (label=="FindMembers")
+ label=label.lower();
+ if (label=="findmembers")
return Debug::FindMembers;
- else if (label=="Functions")
+ else if (label=="functions")
return Debug::Functions;
- else if (label=="Variables")
+ else if (label=="variables")
return Debug::Variables;
- else if (label=="Preprocessor")
+ else if (label=="preprocessor")
return Debug::Preprocessor;
- else if (label=="Classes")
+ else if (label=="classes")
return Debug::Classes;
- else if (label=="CommentCnv")
+ else if (label=="commentcnv")
return Debug::CommentCnv;
+ else if (label=="validate")
+ return Debug::Validate;
+ else if (label=="printtree")
+ return Debug::PrintTree;
else
return 0;
}