summaryrefslogtreecommitdiffstats
path: root/src/debug.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-08-04 20:55:47 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-08-04 20:55:47 (GMT)
commit2e2f09d60ce079a1fe283e47bcf023de01f051c5 (patch)
tree8e54169bc0b7214246ec4c1dfe3f58228ef12928 /src/debug.cpp
parentadac91e9a353095c3bae4b580d27b7cfd8617493 (diff)
downloadDoxygen-2e2f09d60ce079a1fe283e47bcf023de01f051c5.zip
Doxygen-2e2f09d60ce079a1fe283e47bcf023de01f051c5.tar.gz
Doxygen-2e2f09d60ce079a1fe283e47bcf023de01f051c5.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;
}